Variables

x:=y

x:=y : Assignment. The ":=" operator can be used for three different types of assignment: Assigning a variable: as in "x:=2;", Defining a new function: as in "f(x):=Sin(2*x);", or Assigning a list item a value: as in "list[[i]] := 2;"

Set(variable, value)

Set(variable, value) : Sets variable to evaluated value and returns "True".

Clear(...)

Clear(...) : Makes sure variables specified in "..." are not bound any more to a value, and returns True.

Local(...)

Local(...) : Mark the variables in the unevaluated argument list as local variables (local within a Prog block or a function).

x++

x++ : increment the variable "x".

x--

x-- : decrement the variable "x".

Object("predicate",object)

Object("predicate",object) : declaration of an incomplete object. This function returns "object" as soon as "predicate" returns "True" on it. Example: "Object("IsNumber",x);" returns itself, where if x was an integer, it would return that integer.