View Single Post
  #7  
Old 09-03-2003, 05:48 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Re: Re: Brief explanations about some new features: (NEW SCRIPT ENGINE)

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
Reply With Quote