| | LDS ver 0.29
|
| (...) Done. WHILE-WEND done, too. (URL) a sample script that shows usage of WHILE and GOSUB: i=1 while i<=5 gosub :hello wend end :hello print 0 "Hello"; gosub world return :WORLD print "World." return /Tore (25 years ago, 26-Feb-00, to lugnet.cad.dev, lugnet.cad)
| | | | Re: LDS ver 0.29
|
| (...) Ahh! Fantastic! Now, that was a great example, wasn't it? Best thing with it was that the "Eternal loop" error check works... :) Should of course be: i=1 while i<=5 gosub :hello i=i+1 wend end (25 years ago, 26-Feb-00, to lugnet.cad.dev, lugnet.cad)
| |