To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 408
407  |  409
Subject: 
identifiers in NQC
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Mon, 24 Jan 2000 19:21:31 GMT
Viewed: 
1847 times
  
Usually there is some compiler rule that states:

identifiers must be unique within the first  _____  characters.

That is, long variable and other identifier names may be allowed to be
quite long, but they must be unique somewhere in the first X number of
letters.

lastlightstate
lastlightstatelock

for instance.

What is this number for NQC?

I have seen C complilers range from 8 to 30 characters for this.



Message has 1 Reply:
  Re: identifiers in NQC
 
(...) There isn't any practical limit - symbol storage is allocated dynamically and the lexer grows its buffer as needed, so identifiers may be as long as you want (until you run out of memory) and every character is significant. This isn't the most (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx.nqc)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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