Tom12345
Member
(note the A.S.S is without the full stops, forum seems to be filtering it as rude word)
Hello all,
Hoping someone can help, I'm trying to achieve the following:-
- I want pass a value to a genie
- I want to then pass this to a pop up window function and use the value as an INT array index.
The part I'm not sure about is the correct way to use the 'A.S.S***' function
A.S.S(-2, 1, "ArrayTag" + "[" + genieindexvalue "]", 0)
This compiles ok, but when I put into runtime it seems as though it is looking at the entire array when I press Ctrl + P on the pop-up.
Even if I put an array index, it seems to be looking at the entire array without the index
A.S.S(-2, 1, "ArrayTag[5]", 0)
The prefix method works fine, but I don't want to have 50 variables with prefixes.
A.S.S(-2, 1, genieindexvalue + "ArrayTag", 0)
Any help would be much appreciated, I tried the cicode manual and website, it only gives examples of prefixes and the ability to add an index to the pop up string ?INT 1?[XXXX - array index} which isn't useful as I want the array index to be passed through via the genie.
Best Regards,
Tom
Hello all,
Hoping someone can help, I'm trying to achieve the following:-
- I want pass a value to a genie
- I want to then pass this to a pop up window function and use the value as an INT array index.
The part I'm not sure about is the correct way to use the 'A.S.S***' function
A.S.S(-2, 1, "ArrayTag" + "[" + genieindexvalue "]", 0)
This compiles ok, but when I put into runtime it seems as though it is looking at the entire array when I press Ctrl + P on the pop-up.
Even if I put an array index, it seems to be looking at the entire array without the index
A.S.S(-2, 1, "ArrayTag[5]", 0)
The prefix method works fine, but I don't want to have 50 variables with prefixes.
A.S.S(-2, 1, genieindexvalue + "ArrayTag", 0)
Any help would be much appreciated, I tried the cicode manual and website, it only gives examples of prefixes and the ability to add an index to the pop up string ?INT 1?[XXXX - array index} which isn't useful as I want the array index to be passed through via the genie.
Best Regards,
Tom
Last edited: