| Summary: | JS errors using **= operator with bigINT | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | greer |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed verified 20111027_1153 & closed. |
These variations worked in javagen in RBD. Make a rui handler driver and make this the start() method function start() syslib.writestdout("about to test"); localInt bigInt = 3; localInt **= 3; if (localInt == 27) syslib.writestdout("works"); else syslib.writestdout("fails"); end localInt2 bigInt = 3; operand smallInt = 3; localInt2 **= operand; if (localInt2 == 27) syslib.writestdout("works"); else syslib.writestdout("fails"); end end Deploy the project and look for the syntax errors in the driver.js file in the deployed project. Error message Syntax error on token "*=", delete this token for these lines of code localInt **= egl.eglx.lang.EInt64.fromEInt16(3); localInt2 **= egl.eglx.lang.EInt64.fromEInt16(operand);