2021-09-27 01:46 PM - last edited on 2024-09-09 11:23 AM by Doreena Deng
Hi All,
I am trying to use UI_RADIOBUTTON with a 2 dimensional array parameter. However if I ask for _param[i][j], it will always store the value in [i][i] instead, making this command useful in the diagonal matrix only.
I hope I am not missing something obvious - but this appears to be a bug to me...?
Many thanks in advance, I'll love to hear your thoughts.
Tested in AC23 and AC25, latest patches.
Solved! Go to Solution.
2021-09-28 03:41 PM - edited 2021-09-28 03:44 PM
@Piotr Dobrowolski wrote:UI_RADIOBUTTON integerArray[2][1], 515, `test Value21`, 10, 160, 100, 20
I think you meant the above. 😄
This basically proves my point: it will assign any value of [i][j] into [i][i].
So here integerArray[1][1] and integerArray[1][2] both went to integerArray[1][1].
2022-01-14 08:46 AM
Yes, this is a bug, thank you for reporting. It will be fixed in the next version (AC26).