Should throw syntax error.

Certified Associate Developer

Hi, not a problem but following code should throw some error, but it is evaluating.
Here a comma is missing, and we are using a local variable in its definition, which should throw an error.

Also, we can try various P&C.

/*Code 1*/
a!localVariables(local!data: 2 * 5tointeger(2 * local!data))
/*Code 2*/
a!localVariables(local!data: 2 * 5tostring(2 * local!data))
/*Code 3*/
a!localVariables(local!data: 2 * 5toboolean(2 * local!data))
/*Code 4*/
a!localVariables(local!data: 2 * 5date(2 * local!data))

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data