Array of constant on BS2?
MCA
Posts: 13
I would like to make an array of constants on my BS2. The reason is I wish to save ram - don't need a variable, but I do want to be able to loop the values of the array. Is it possible to declare an array of constants in Pbasic? From what I can tell it is not.
If not, is there another way to do this smoothly?
BR/ MCA
If not, is there another way to do this smoothly?
BR/ MCA
Comments
The DEBUG is just to show you how the READ works.
You probably wouldn't read them in a loop in your program; instead just READ the one you want when you need it.
BR / MCA