Subject:
|
Programming, NQC and the RCX
|
Newsgroups:
|
lugnet.org.ca.rtltoronto
|
Date:
|
Thu, 10 Jan 2002 14:18:02 GMT
|
Viewed:
|
433 times
|
| |
| |
K folks, I have a programming problem :(
Here's the issue:
I set an array of 16 (go figure)
and I have a few misceelaneous int values (4 thus far)
and I try to set up another aray of 16 and it gives me something equalling
an out of memory error! Grrr!!
So the question, can I allocate morememory space for variables? or is it
fixed? I notice when I look at a memory map, soooo much memory is allocated
to data logging--well you stupid RCX, I'm not doing *any* data logging so
stop giving away all that memory I need!!
Anywho, if someone could point me in the right direction, it'd be appreciated.
Dave
Pretend this said something funnier than Chris's .sig file
|
|
Message has 2 Replies: | | 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
|
| (...) As the others have said, 32 variables is the limit for the standard firmware. The new 2.0 firmware gives you a bit more (I think you can have a few more global variables). But, heres my take on the matter: Why do you need two 1x16 arrays? I (...) (23 years ago, 11-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
|
|
|
|