Dear B4A-gurus, I am writing to you because my mind has stopped working, and I need to get it going again...
Is there an easy way of saving / loading a multidimension-array, preferable in a readable and writable (texteditor) format?
My array will only contain numbers in the INT format.
The format of the array is (x,2). For now I am writing it in code:
But as I am going up to a couple of hundred it will be a LOT of code-lines (and as the IDE dont save the state of show / hide subs this gives a lot of scrolling, but thats another thing completly), the point being that a text-file would be a great way of adding more lines to the array.
Do you guru's have any ideas? Pretty please with sugar on top? :sign0163:
Is there an easy way of saving / loading a multidimension-array, preferable in a readable and writable (texteditor) format?
My array will only contain numbers in the INT format.
The format of the array is (x,2). For now I am writing it in code:
B4X:
Arr(1,0) = 10
Arr(1,1) = 2
Arr(1,2) = 5
Arr(2,0) = 11
Arr(2,1) = 4
But as I am going up to a couple of hundred it will be a LOT of code-lines (and as the IDE dont save the state of show / hide subs this gives a lot of scrolling, but thats another thing completly), the point being that a text-file would be a great way of adding more lines to the array.
Do you guru's have any ideas? Pretty please with sugar on top? :sign0163: