Community
Participate
Working Groups
EGL CODE package mine; 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() intActual int = 75 / 5; intExpect int = 15; syslib.writestdout(" 75 / 5"); if (intActual == intExpect) syslib.writestdout("good"); else syslib.writeStdout("bad"); end end end Firefox shows starting Could not render UI (15,[object Object],[object Object],"TODO: make an exception for this") BaseTypesAndRuntimes.js:897 (15,"TODO: make an exception for this") BaseTypesAndRuntimes.js:935 (15) edt_runtime.js:133 () Minor.js?contextKey=51:68 () Minor.js?contextKey=51:52 () Minor.js?contextKey=51:6 () egl.js:800 () Minor.html?contextKey=51:79 ([object Array],(function () {egl.localeInfo = {locale: "en_US", nlsCode: "ENU", shortMask: "MM/dd/yyyy", mediumMask: "MM-dd-yyyy", longMask: "MM-dd-yyyy", currencySymbol: "$", decimalSeparator: ".", groupingSeparator: ","};try {egl.handleIDEEvent();egl.rootHandler = new (egl.mine.Minor);if (egl.rootHandler.targetWidget || !egl.rootHandler.egl$isWidget) {egl.rootHandler.setParent(egl.Document);} else {var package = egl.rootHandler.eze$$package;var typename = egl.rootHandler.eze$$typename;egl.rootHandler = egl.Document;egl.rootHandler.eze$$package = package;egl.rootHandler.eze$$typename = typename;}egl.startup();} catch (e) {egl.crashTerminateSession();if (!egl.mine.Minor) {egl.println("Internal generation error. Found no definition for mine.Minor. Try Project > Clean...", e);} else {egl.printError("Could not render UI", e);throw e;}}})) Minor.html?contextKey=51:53 () Minor.html?contextKey=51:51 ([object Event]) Minor.html?contextKey=51:39 x.signum is not a function [CRRUI2094E] Here are the EGL function calls leading to this error: mine/Minor.egl() at line 16 mine/Minor.egl() at line 11 Minor.<init>() [native JavaScript] start() at line 897 x.signum is not a function ZZTest/runtime/egl/jsrt/BaseTypesAndRuntimes.js:897 [CRRUI2095E] Could not find the EGL function calls leading to this error
Created attachment 205206 [details] EGL Source file issue with smallint variables and number variables
Fixed
verified with 20111027_1153 & closed