Posted: 07:58am 11 Nov 2014 |
Copy link to clipboard |
 Print this post |
|
Hi
For many applications it is convenient to set up constant arrays: character tables for graphic displays, thermocouple lookups, etc.
Is there a way of doing this in mmbasic (specifically micromite)?
The data/read syntax is usable but not very elegant if more than one table is required in a program.
Also, Am I correct in thinking there isn't a line continuation mechanism in mmbasic?
Basically I want to do something like the attached:
option default integer
const char-array(64)= &H12345678, &H567890, &H125356, -
&H12345678, &H567890, &H125356, -
&H12345678, &H567890, &H125356, -
&H12345678, &H567890, &H125356, -
...
&H1234567
Thanks
Peter |