To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 3196
  Re: Programming, NQC and the RCX
 
(...) Rememeber to count all local variables, since they are not really local in RCXCC. Total number of usable variables are 32 for RCX 1.x. But I think the compiler will give you error for using more than 32 variables. If it is during download, (...) (23 years ago, 10-Jan-02, to lugnet.org.ca.rtltoronto)
 
  Re: Programming, NQC and the RCX
 
(...) 32 variables??????? That's all???? i need more! How do I get room for more variables??? If not, oh well, must modify and have *sloppy* code :( Dave (23 years ago, 10-Jan-02, to lugnet.org.ca.rtltoronto)
 
  Re: Programming, NQC and the RCX
 
(...) the (...) Well RCX 2.0 firmware give you 32 global+16 local variables, according to NQC docs. LegOS should give you a lot more freedom in memory usage, but I haven't try that yet. For the X project, I plan to use bit manipulation to store all (...) (23 years ago, 10-Jan-02, to lugnet.org.ca.rtltoronto)
 
  Re: Programming, NQC and the RCX
 
The only way I now around these limitations is to use an alternate firmware. LegOS is a true c environment instead of being "not quite c" LeJOS is full featured Java VM. Both of these give you full control over memory usage, so the number of (...) (23 years ago, 10-Jan-02, to lugnet.org.ca.rtltoronto)

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