To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / *38850 (-5)
  Re: Are there GOTO statements in NQC?
 
(...) Well, you'll hear people telling you: 1) Use the GOTO - it's fine. 2) Use it sparingly - it's dubious. 3) Use it only if you are totally stuck. 4) Never, ever use it - it is the work of Satan. I fall into group (4). I've been working as a (...) (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: Help w/install _or_ It all went so well
 
(...) You should uninstall cygwin and delete its directory tree if it is left behind. Then run both installers (the brickoslejos installer second) and you should be ready to go. You don't need to do a configure or make of brickOS if you use these (...) (22 years ago, 20-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: Are there GOTO statements in NQC?
 
(...) In NQC, it is necessary to be especially careful about the use of goto as Dave writes in the NQC Guide: The goto statement should be used sparingly and cautiously. In almost every case, control structures such as if, while, and switch make a (...) (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: Are there GOTO statements in NQC?
 
(...) Ralph, I think it is a stupid rule! (...) Kevin (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  RE: Are there GOTO statements in NQC?
 
(...) <snipped rant> (...) And as a longtime embedded guy myself, I agree with Mark. It's the old sharp tools and dull craftsman thing. In the hands of a practiced expert, the goto can be a thing of beauty and can make the code more readable, which (...) (22 years ago, 20-Nov-03, to lugnet.robotics)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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