Main Board > Programming
Max variables in a program
(1/1)
ChrisKCAi:
I'm getting an error 19 trying add some code into a program but I know it doesn't exceed max program size - I have a vague recollection that there is also a max # of discrete variables that be referenced within a single program - is that correct? I didn't see anything in the "system limits" section of the doc.
Loren Doornek:
There's a limit of 32000 bytes to the variable space. Refer to this thread: https://forum1.pvxplus.com/index.php?topic=887.msg2983#msg2983
Here's how I check it:
LOAD “My_Program”
OPEN INPUT (UNT,ISZ=-1)PGN; READ RECORD (LFO,SIZ=256)r$; CLOSE (LFO); PRINT DEC(MID(r$,101,4))-DEC(MID(r$,105,4))
ChrisKCAi:
Loren,
Well, that's why I had a "vague" memory - thanks!
Navigation
[0] Message Index
Go to full version