To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 4085
    Re: LDS ver 0.28 —Steve Bliss
   (...) Double-:) (...) Right! Any chance of getting GOSUB and RETURN? (...) Hmm. It's your program, and you should definitely use it the way your want. But I've always preferred DO ... LOOP over WHILE ... WEND. It's partly because DO ... LOOP can be (...) (25 years ago, 25-Feb-00, to lugnet.cad.dev)
   
        Re: LDS ver 0.28 —Tore Eriksson
      (...) I thought that WHILE-WEND was easy to code, but I'm having great problems with it... :( And yes, GOSUB and RETURN have crossed my mind. Could be wrong again, but it sounds almost as easy as GOTO. (...) Oh dear! *sigh* If I get the time then I (...) (25 years ago, 25-Feb-00, to lugnet.cad.dev)
   
        LDS ver 0.29 —Tore Eriksson
    (...) 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 —Tore Eriksson
    (...) 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)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR