continue

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

continue can be emulated as so:

for i = 1 to 10 do
while 1 do --need second loop
	if i = 5 then
		exit --skip 5
	end if
	? i
exit --always run the second loop only once
end while
end for

-- 
Linux User:190064
Linux Machine:84163
http://jbrown105.1avenue.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu