Quote:
Originally posted by Dach
I don't think it's a loop, nor does it take the { }'s
just
for (a: b);
that's what I got from it, I haven't seen a few of these types of features before, thanks Jagen
|
it is a loop, as I posted my equivilent to it, the php name for it makes more sense I think, too bad graal doesn't use it
foreach(array as var)
for each element in array, it will set the single element as var, and continue on in the loop until there are no more elements to declare 'var' as
and cheetos, yes your example would work