To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 3553
  Re: LDS ver 0.28
 
GOTO was very easy to program. :o) A little more seriously now: I think it belongs to the BASIC-like syntax I have chosen. Especially in IF statements. Anyway, noone is forced to [ab]use it. I don't think WHILE-WEND will be too hard to code, and it (...) (25 years ago, 24-Feb-00, to lugnet.cad, lugnet.cad.dev)
 
  Re: LDS ver 0.28
 
(...) 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
 
(...) 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
 
(...) 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)

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