Skip to main content

27 docs tagged with "control structure"

View all tags
Docs

after

Defines a message handler.

before

Defines a message handler.

break

Skips the rest of the current switch structure and goes to the statement following the end switch.

exit

Stops execution of a handler.

exit repeat

Skips the rest of the current repeat loop and goes to the statement following the end repeat.

exit to top

Halts the current handler and all pending handlers.

function

Defines a custom function handler.

getProp

Handles the message sent to an object when you access one of its custom properties.

if

Evaluates a conditional expression to determine if it is true and if so executes a subsequent statement or statement list. If the condition is false and the **if** control structure contains an else keyword the statement or statement list following the else keyword is executed. The **if** control structure may contain one or more else if keywords which have a conditional expression. If the conditional expression for one of these evaluates to be true then the statement or statement list following that else if keyword is executed. If the **if** control structure contains more than one line then the **if** control structure must end with an end if keyword.

If

Executes a list of statements depending on the value of a condition.

next repeat

Skips the rest of the current iteration and goes back to the top of the repeat structure.

NextRepeat

Begin the next iteration of a repeat loop.

on

Defines a message handler.

pass

Stops the current handler and passes the message to the next object in the message path.

repeat

Executes a set of statements repeatedly.

RepeatForEach

Executes a list of statements until the Iterator is exhausted.

RepeatTimes

Executes a list of statements a given number of times.

RepeatUntil

Executes a list of statements until a condition becomes true.

RepeatWhile

Executes a list of statements while a condition continues to be true.

return

Stops the current handler and returns a value to the handler that called the current handler.

setProp

Handles the trigger sent to an object when you change one of its custom properties.

switch

Chooses among several possible values for an expression, and executes a set of statements that depends on the value.

throw

Returns an error message to a control structure.

try

Executes a list of statements, sending any errors to the try structure to be handled.