List Info

Thread: For Loops




For Loops
user name
2006-08-29 23:49:04
Hi

I am having trouble understanding for loops.  If I have a
loop that
says:
var coffee = new Array();
coffee ["mixedblend"] = 5.50;

 for (c in coffee)
{code goes here}

That for saying while there is a c in coffee, then conduct
the code.
Is that a correct interpretation?
Greg


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )