Reply To: Multi dimension arrays in OAL

homepage Forums BridgePoint/xtUML Usage and Training Multi dimension arrays in OAL Reply To: Multi dimension arrays in OAL

#1293
TI
Participant

Hi Keith,

Thank you for replying.
I confrimed that I could.

OAL is —
my_array[1][1] = 3;
my_array[0][0] = 0; // Order of this and next two lines does not matter
my_array[0][1] = 1;
my_array[1][0] = 2;

LOG::LogInfo(message: “Arrays are descripted below”);
LOG::LogInteger(message:my_array[0][0]);
LOG::LogInteger(message:my_array[0][1]);
LOG::LogInteger(message:my_array[1][0]);
LOG::LogInteger(message:my_array[1][1]);

Out put is —
User invoked function: func1
LogInfo: Arrays are descripted below
LogInteger: 0
LogInteger: 1
LogInteger: 2
LogInteger: 3

//TI