Keywords

Control keywords for the language.

Word
Use

assert

Make certain a value is true.

require

Make certain variables are present.

import

Obtains the output of an external program.

if

Run a statement on a condition.

while

Continually run a statement on a condition.

for

Run a statement for every element in a collection.

do

Runs code in the context of an object.

run

Run an executable object.

struct

Create a data structure with a fixed set of properties.

function

Creates an executable object to run a statement.

syntax

Defines new syntax available in the current script.

null

The empty value.

false

The false value.

true

The true value.

Last updated