the syntax of the language
//
: Create a single line comment
/* ... */
: Create a multi-line comment
print("<string>/<boolean>/<integer>")
: Prints a String, Integer or Boolean.
*args
: String, Integer, Booleanprint(^"{<variable_name>}")
:^
string - print variable
prompt("<string>/<variable_name>/<integer>")
: Input a String, variable or integer.
*args
: String, variable, integer
cprompt("<string>/variable_name>/<integer>")
: Input a String, variable or integer without the cursor and text showing.
*args
: String, variable, integer
var <variable_name>
: Create a variable
= <variable_value>
: Add a value to a variable
whatif <variable_name> <operator> <value> {
: If statement
<variable_name>
: Variable name<operator>
: An operator (>
,<
,<=
,>=
,==
,!=
,isin
)
The operators are pretty self-explanatory.
>
: Greater than<
: Less than<=
: Less than or equal to>=
: Greater than or equal to==
: Equal to!=
: Not equal toisin
: Is inside of<value>
: A value (integer, boolean, float, string)