array Bla_nextFree486 integer Bla_firstFree110 integer Bla_maxIndex213 array Bla_typeId498 array Bla_i123 array Bla_j153 integer Bla_k155 = 36 integer Bla_firstFree110 = 0 integer Bla_maxIndex213 = 0 function initGlobals102() { } function main414() { initGlobals102(); init_test531(); } function config127() { } function init_test531() { local integer this325 if (Bla_firstFree_110 == 0) { if (Bla_maxIndex_213 < 32768) { Bla_maxIndex_213 = (Bla_maxIndex_213 + 1); this_325 = Bla_maxIndex_213; Bla_typeId_498[this_325] = 1; } else { error200("Out of memory: Could not create Bla."); this_325 = 0; }; } else { Bla_firstFree_110 = (Bla_firstFree_110 - 1); this_325 = Bla_nextFree_486[Bla_firstFree_110]; Bla_typeId_498[this_325] = 1; }; Bla_i_123[this_325] = 13; Bla_j_153[this_325] = 27; Bla_j_153[this_325] = 14; if (Bla_typeId_498[this_325] == 0) { if (this_325 == 0) { error200("Nullpointer exception when calling Bla.getI"); } else { error200("Called Bla.getI on invalid object."); }; } else { }; if (Bla_i_123[this_325] != 13) { testFail212("i"); } else { if (Bla_typeId_498[this_325] == 0) { if (this_325 == 0) { error200("Nullpointer exception when calling Bla.getJ"); } else { error200("Called Bla.getJ on invalid object."); }; } else { }; if (Bla_j_153[this_325] != 14) { testFail212("j"); } else { if (Bla_typeId_498[this_325] == 0) { if (this_325 == 0) { error200("Nullpointer exception when calling Bla.getK"); } else { error200("Called Bla.getK on invalid object."); }; } else { }; testSuccess126(); }; }; } IS_NATIVE function testFail212(string msg256) { } IS_NATIVE function testSuccess126() { } function error200(string msg194) { $debugPrint177((msg_194 + (" " + #getStackTrace()))); }