/syntax

Sentient Lang.

Expression

An expression can contain any combination of variables, constants, operators and function calls. Expressions must appear as part of an assignment with the exception that function calls may appear by themselves. Here are some examples:

total = (1 + x) * -3;

a = (b || c) && d;

myArray = [1, 2, 3];

y = cube(5) + square(x);

updateTotal(25);

Most of the operators you’d expect are supported as well as a large collection of built-in functions. Please refer to the boolean, integer and array references for more information.