New feature (Jan 2022)
Relaxed words in alt/loop conditions
Before this new version, when you need to put more word in the between the parentheses, you have to use a "string", such as for("record in records")
.
Since this version, you can use something like this for(record in records)
. There is no check in the words as long as they are valid atom
s.
The same thing applies to if
such as if(instanceOf x == XClass)
The following can be an atom
:
Number (1, 1.0);
Boolean (true, false);
ID, anything that can be a variable name in Java, such as a1, xyz;
STRING ("hello world")
NIL (null)
Operators (+, -, *, /, ==, &&, ||,
new
, >, >=, <, <=)
Last updated