You can directly specify numbers, strings, and boolean values. Values of other types must be created using functions.

Integers and Fractional Numbers can be specified as decimal numbers. The "." is used as the decimal point. A number is integer if it fits into a 32-bit integer number, otherwise it's treated as real. The number π=3.141592 (circumference/diameter ratio of a circle) can be specified as PI.

Strings can be specified in two ways:

  • Using single quotes: the string starts with a single quote and ends at the next one.
  • Using double quotes: those support escaping. A backslash "\" performs a special function:
    \n
    is a newline character.
    \t
    is a tab character.
    \\
    is a backslash character.
    \"
    is a double-quote character.

Boolean values can be specified directly as True and False.

See also: Types, Type Index