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 / 3530
    LDS ver 0.27 - Great News! —Tore Eriksson
   (URL) new version of LDraw Script Compiler has a couple of (IMHO) useful new features: * 3-D Points can be added, subtracted, and multiplied with each other. (At last, Steve!) Syntax: P1 [=] P2 [+ | - | *] P3 Examples: P1 = P2 + P3 is equal to: (...) (24 years ago, 17-Feb-00, to lugnet.cad, lugnet.cad.dev)
   
        LDS ver 0.28 —Tore Eriksson
   (URL) in 0.28: * IF-THEN-ELSE-END IF * GOTO Fixed a bug in the LINE command. /Tore (...) (24 years ago, 23-Feb-00, to lugnet.cad, lugnet.cad.dev)
   
        Re: LDS ver 0.28 —Alex Farlie
   (...) Good!! (...) Reasoning for GOTO? GOTO is a construct which can very easily be abused. better to have "proper" strcutures likw while-DO, repeat-until etc. Alex (24 years ago, 24-Feb-00, to lugnet.cad, lugnet.cad.dev)
   
        Re: LDS ver 0.28 —Todd Lehman
     (...) Better to have both. GOTO has its uses, albeit rare. --Todd (24 years ago, 24-Feb-00, to lugnet.cad, lugnet.cad.dev)
   
        Re: LDS ver 0.28 —Tore Eriksson
   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 (...) (24 years ago, 24-Feb-00, to lugnet.cad, lugnet.cad.dev)
   
        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 (...) (24 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 (...) (24 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 (24 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 (24 years ago, 26-Feb-00, to lugnet.cad.dev, lugnet.cad)
 

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