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 / 12944
  Semicolon (;) Confusion
 
In some cases Mark Overmars great RCX Command Center does not flag syntax errors for incorrect use of an ending semicolon, as in the example below. Could someone please explain how semicolons work in NQC? Perhaps there is a good reason for *not* (...) (24 years ago, 27-Oct-00, to lugnet.robotics)
 
  Re: Semicolon (;) Confusion
 
(...) NQC implements a syntax similar to C. In C, while and if statements have a single statement that is executed if the condition is true. A null statement is a valid statement, and a block of statements enclosed in {} can be substituted or a (...) (24 years ago, 27-Oct-00, to lugnet.robotics)
 
  Re: Semicolon (;) Confusion
 
John, Thanks for that answer. That same question has haunted me for some time. -- Bob Fay rfay@we.mediaone.net The Shop (URL) A. Tamplin" <lego-robotics@crynwr.com> wrote in message news:Pine.A32.3.91.1...net.com... (...) syntax (...) below. (...) (...) (24 years ago, 27-Oct-00, to lugnet.robotics)

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