Community
Participate
Working Groups
Expecting this code localInt int = 3; localInt **= 3; writeStdout(localInt); To write out 27. Works in RBD. EDT generated Java int localInt = 0; localInt = (int)((short) 3); localInt **= (int)((short) 3); Java error msg Syntax error on token "*", delete this token RBD generated JAVA int localInt = 0; // localInt = 3; localInt = (short)3; // localInt = localInt ** 3; localInt = com.ibm.javart.operations.AssignToInt.run( ezeProgram, com.ibm.javart.operations.Power.run( ezeProgram, localInt, (short)3 ) );
I have fixed this code to use a runtime callout for power of, however until Paul fixes the bug related to the type of a binary expression, this will still give a java error. Please wait to verify this once Paul has fixed the other defect.
201109161325
Closing this defect.