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:

            while
            for
            if-else

The flow control is dependent upon the conditional statements for the flow control statement.  The following link explains conditional statements:

            Conditional Statements

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.

See Also: Math Operations



Copyright 2000-2011 Phantom Automated Solutions