Post Reply 
Program size limit (G1 vs G2)
10-16-2023, 06:14 PM (This post was last modified: 10-17-2023 06:10 PM by Gene222.)
Post: #16
RE: Program size limit (G1 vs G2)
(10-16-2023 07:15 AM)komame Wrote:  If it were a length limit of some internal list, it's still a limit that only applies to the G1, because on the G2 I can easily load a program that's 16MB (perhaps even larger, but I haven't checked that). However, on the G1, even 4MB causes a problem, even when it's the only program in memory (so there should still be a lot of free memory left after its loading).

I never used a G2, so I can't comment on the G2 program size. On the G1, hardware A, I had programs top out at 9300 or 9500 lines of code (600 or 800 KB, if memory serves). The number of lines was under 10,000, which led me to wonder if one line of code was being stored in one element of a program list, and if the program line number was the same as the list index number.

Some after thoughts

The reason I wondering, if one line of code was being stored in one element of a program list, was because if true, then it may be possible to write several program statements on one line of code. This might allow one to write longer program.

Regarding program memory, I would imagine that when a program is compiled or parsed, the compiled or parsed program is saved as a separate file or list. This would double the amount of memory needed.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Program size limit (G1 vs G2) - komame - 09-27-2023, 03:27 PM
RE: Program size limit (G1 vs G2) - Tyann - 09-27-2023, 05:14 PM
RE: Program size limit (G1 vs G2) - komame - 09-27-2023, 09:22 PM
RE: Program size limit (G1 vs G2) - Tyann - 09-28-2023, 04:52 AM
RE: Program size limit (G1 vs G2) - tjurij - 09-28-2023, 12:45 PM
RE: Program size limit (G1 vs G2) - Tyann - 09-28-2023, 06:06 PM
RE: Program size limit (G1 vs G2) - komame - 09-28-2023, 07:34 AM
RE: Program size limit (G1 vs G2) - komame - 09-28-2023, 01:40 PM
RE: Program size limit (G1 vs G2) - komame - 09-30-2023, 04:58 PM
RE: Program size limit (G1 vs G2) - komame - 10-16-2023, 07:15 AM
RE: Program size limit (G1 vs G2) - Gene222 - 10-16-2023 06:14 PM
RE: Program size limit (G1 vs G2) - komame - 10-18-2023, 07:32 AM
RE: Program size limit (G1 vs G2) - komame - 10-21-2023, 07:37 AM



User(s) browsing this thread: 1 Guest(s)