Community
Participate
Working Groups
EGL code handler Minor type RUIhandler{initialUI =[], onConstructionFunction = start, cssFile = "css/ZZTest.css", title = "Minor"} function start() syslib.writestdout("starting"); testing(); syslib.writestdout("stopping"); end function testing() int1 int = 13; int2 int = 27; syslib.writestdout("int1 & int2"); actual int = int1 & int2; expected int = 9; if (actual == expected) syslib.writestdout("good"); else syslib.writeStdout("bad"); end end end generates: "testing": function() { var int1 = 0; int1 = 13; var int2 = 0; int2 = 27; egl.eglx.lang.SysLib.writeStdout("int1 & int2"); var actual = 0; actual = ((int1int2)); var expected = 0; expected = 9; if (((actual == expected))) { egl.eglx.lang.SysLib.writeStdout("good"); } else { egl.eglx.lang.SysLib.writeStdout("bad"); } } at runtime causes: starting int1 & int2 Could not render UI () Minor.js?contextKey=10:80 () Minor.js?contextKey=10:52 () Minor.js?contextKey=10:6 () egl.js:800 () Minor.html?contextKey=10:79 ([ Minor.html?contextKey=10:53 () Minor.html?contextKey=10:51 ([object Event]) Minor.html?contextKey=10:39 int1int2 is not defined [CRRUI2094E] Here are the EGL function calls leading to this error: mine/Minor.egl() at line 19 mine/Minor.egl() at line 11 Minor.<init>() [native JavaScript] start() at line 80 int1int2 is not defined ZZTest/mine/Minor.js?contextKey=10:80 [CRRUI2095E] Could not find the EGL function calls leading to this error
This might be related. EGL code intActual = 5 ** 3; becomes this.intActual = egl.eglx.lang.EInt32.fromEFloat64(((53)));
Fixed
verfied with build 20111027_1153 & closed