Phantom
Documentation [Help Home] [Phantom Home] |
Flow Control
|
The flow of a Phantom script can
be controlled using flow control statements. The statements currently
supported by Phantom are 'while', 'for', and 'if - else'. Depending
upon the conditional statements, these flow control statements alter
the course of action of the script. The following links explain
the flow control statements in more detail: Note:
Any variables declared in a flow control statement are local only inside
the flow control statement. They are not accessible outside the flow
control statement and will be destroyed when the flow control statement
exits. Variables declared outside the flow control statement are available
in the flow control statement. For more information, see the General
Language Syntax section on Variable Scope.
|