How do i make a macro that get a set of data from a data block. Also called a 2 dimensional array.
I have tried to define the data by
Datablock = {
[data1_1,data1_2,data1_3,data1_4],
[data2_1,data2_2,data2_3,data2_4],
[data3_1,data3_2,data3_3,data3_4] }
And i try to get it with
temp = getlist(Datablock, 2)
meaning i take a copy of the second line of data (set2) and put it in temp.
Then i am supposed to use getlist in another macro to get the single post of data.
But the does not seem to accept the way i make the 2dim list.
What do i do wrong ?
The data i work with has 800 lines with 16 posts in each and i can not give each data a name or split them with json, at least not in a way that i know off
and 800 if lines are a bit too many to work with