global

Global names that are available everywhere.

Summary
globalGlobal names that are available everywhere.
Types
BooleanTRUE or FALSE.
NumberFloating point number with 34 decimal digits of precision.
StringUnicode string.
ArrayParameterised sequence type.
DictionaryParameterised map type from String to the given type.
BytesBytes.
ExceptionTypeRecord that contains information about a raised exception.
Exceptions
ArrayIndexExceptionAn array index is not valid or out of range.
AssertFailedExceptionAssert failed.
ByteOutOfRangeExceptionA byte is out of range in toBytes().
BytesIndexExceptionA byte index is not valid or out of range.
DictionaryIndexExceptionA dictionary index value does not exist.
DivideByZeroExceptionDivide by zero.
DynamicConversionExceptionDynamic conversion exception.
EndOfFileExceptionEnd of input file.
FormatExceptionFormat specifier not valid.
InvalidFunctionExceptionAn invalid function pointer was called.
InvalidValueExceptionAn invalid value was passed to a library function.
FunctionNotFoundExceptionFunction not found.
LibraryNotFoundExceptionLibrary not found.
ObjectSubscriptExceptionObject subscript exception.
SqlExceptionSQL exception.
StackOverflowExceptionCall stack exceeded limit.
StringIndexExceptionAn string index is not valid or out of range.
Utf8DecodingExceptionInvalid UTF-8 encoding found in Bytes.decodeToString().
ValueRangeExceptionAn input value is out of range.
Functions
numConvert a decimal number as a string to a number.
printPrint a string to standard output followed by a newline.
strConvert a number to a decimal string.

Types

Boolean

TRUE or FALSE.

Number

Floating point number with 34 decimal digits of precision.

String

Unicode string.

Array

Parameterised sequence type.  Example

Array<String>

Dictionary

Parameterised map type from String to the given type.  Example

Dictionary<String>

Bytes

Bytes.

ExceptionType

Record that contains information about a raised exception.

Exceptions

ArrayIndexException

An array index is not valid or out of range.

AssertFailedException

Assert failed.

ByteOutOfRangeException

A byte is out of range in toBytes().

BytesIndexException

A byte index is not valid or out of range.

DictionaryIndexException

A dictionary index value does not exist.

DivideByZeroException

Divide by zero.

DynamicConversionException

Dynamic conversion exception.

EndOfFileException

End of input file.

FormatException

Format specifier not valid.

InvalidFunctionException

An invalid function pointer was called.

InvalidValueException

An invalid value was passed to a library function.

FunctionNotFoundException

Function not found.

LibraryNotFoundException

Library not found.

ObjectSubscriptException

Object subscript exception.

SqlException

SQL exception.

StackOverflowException

Call stack exceeded limit.

StringIndexException

An string index is not valid or out of range.

Utf8DecodingException

Invalid UTF-8 encoding found in Bytes.decodeToString().

ValueRangeException

An input value is out of range.

Functions

num

DECLARE NATIVE FUNCTION num(s: String): Number

Convert a decimal number as a string to a number.

print

DECLARE NATIVE FUNCTION print(s: String)

Print a string to standard output followed by a newline.

str

DECLARE NATIVE FUNCTION str(x: Number): String

Convert a number to a decimal string.

Unicode string.
DECLARE NATIVE FUNCTION num(s: String): Number
Convert a decimal number as a string to a number.
DECLARE NATIVE FUNCTION print(s: String)
Print a string to standard output followed by a newline.
DECLARE NATIVE FUNCTION str(x: Number): String
Convert a number to a decimal string.
Close