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 / 3197
3196  |  3198
Subject: 
Re: Programming, NQC and the RCX
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Thu, 10 Jan 2002 17:46:45 GMT
Viewed: 
433 times
  
In lugnet.org.ca.rtltoronto, Ka-On Lee writes:

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

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



Message has 2 Replies:
  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)

Message is in Reply To:
  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)

6 Messages in This Thread:



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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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