lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Mark Edgar wrote:
loop
  line = io.read()
while line
  io.write(line)
repeat

Is that similar to Ada's:

loop
	exit when /condition/;
end loop;

? It always struck me as an exceedingly beautiful way of making all the different sorts of loop disappear up themselves.

--
Lisa
http://www.thecommune.org.uk/~lisa/