You can make it a lot easier to enter all the data by storing it in a json file and then uploading it to an Array object using the AJAX object:
https://www.dropbox.com/s/z6gbnqa22z7x5 ... .capx?dl=0
Run this in debug and check the AJAX and Array objects to see how the data loads in.
The json array file needs the following basic structure for C2 to handle it properly:
{
"c2array":true,
"size":[2,3,4],
"data":[
[ [0,1,2,3], [4,5,6,7], [8,9,10,11] ],
[
[12,13,14,15], [16,17,18,19 ], [20,21,22,23] ]
]
}
1) Save this text file as *.json and add it to your project by right clicking on the files icon in the Projects bar and selecting "import files".
2) Add an array object and the AJAX object to your project.
3) Import your json data into the array object by using the AJAX object:
On start of layout: AJAX | Request yourArray.json (tag "yourArray")
AJAX | On "yourArray" completed: Array | Load from JSON string AJAX.LastData
4) All of your strings should now be in the C2 array.
You can now work on the array however you want using conditions and actions in C2.