Page 2 of 2

Re: what did they smoke when they develop MTX Basic?

Posted: 24 Oct 2018 19:40
by Martin A
By default, simple variables get parked in the shared ram from #C000 up. There's only a 2 byte pointer

I guess they then get moved further up if a basic program needs that space.

Arrays on the other hand have a 3 byte pointer and live in paged ram, with I think a maximum size of 64k per array, as the index limit is 13107 for a single dimensional array.

With enough ram you can write things like :

Code: Select all

DIM A(10000)
DIM B(10000)
Each statement taking up over 50k of space - Great for desting disc I/O performance !