homepage › Forums › BridgePoint/xtUML Usage and Training › Multi dimension arrays in OAL › Reply To: Multi dimension arrays in OAL
January 8, 2014 at 3:47 am
#1293
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