I have an Array with different numbers. I need to search the array for the highest number without reordering. I also need to know which cell has the highest number. For some reason, the global variables remain at 0 when I use this code. What am I doing wrong?
globalvariableValue=0
Event: Array For each X element
Sub-Event: Array Current value > globalvariableValue
Action: Set globalvariableCell to Array.CurX
Action: Set globalvariableValue to Array.CurValue
I have tried Array Value at Array.X > globalvariableValue.
I have also tried System compare values Array.CurValue > globalvariableValue