[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Making LUA safe to execute untrusted scripts [replay]
- From: Edgar Toernig <froese@...>
- Date: Thu, 20 Apr 2000 01:20:22 +0200
Roberto Ierusalimschy wrote:
>
> We forgot to tell: Lua will have a "for"! (next week)
I already have one *g* ("for i,v in table do end" and
"for i in num,num do end"). But I found, that it's
not that useful without a break. And it isn't even
much faster than foreach (and I think I have the fastest
possible implementation). But a "for" and a "break" is
great :-)
Now that we have all these iterators, how about a "next"
tag method?
Ciao, ET.