Loop

new topic     » topic index » view thread      » older message » newer message

I would like to suggest that Euphoria should have loop-end loop.
It looks more clear and possibly runs a little faster
(since it doesn't has to check if 1 is true or not).

Instead of:
while 1 do
	do_something
	if something_is_true then exit end if
end while

It should be this:
loop
	do_something
	if something_is_true then exit end if
end loop

Dan-Åke Engqvist

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu