vcScopeStatement
vcScopeStatement is a robot statement that can execute its own scope of statements.
Inherits: vcStatement
Statement Specific Properties
While
A While statement is a vcScopeStatement that can execute a scope of statements in a loop as long as its condition is true.
Name | Type | Access | Description |
Condition |
Expression |
RW | Defines an expression that when evaluated returns a True or False value.
A True value means the statement will execute its scope of statements and loop back, evaluating its condition before each iteration. A False value means the statement has been completed and will not execute its scope of statements. Note: In order to avoid an endless loop, use a condition that references a robot variable, port in robot, Break statement or a controller property. |
Scope | vcScope | R | Gets the scope of statements executed by the statement. |