EasyManua.ls Logo

Alcorn Mcbride V16Pro - If On, If Off

Alcorn Mcbride V16Pro
179 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WinScript Live Command Reference Page 75
WinScript
Reference
00:00.00
Skipped
Events
Event Label
00:00.00
Some Event
Example
Label
Time
Event
Data1
Data2
Data3
00:00.00
If =
ShowVar
1
RunShow1
00:00.00
If =
ShowVar
2
RunShow2
00:00.00
Goto
End
RunShow1
00:00.00
Start
GoShow1
00:00.00
Goto
End
RunShow2
00:00.00
Start
GoShow2
End
00:00.00
Empty
If ShowVar is not a valid number, the first Goto is reached and the sequence jumps to the end and
performs no action. If ShowVar is equal to 1, "Show 1" is started, then the second Goto event
causes the sequence to jump over the "Show 2" events.
If On, If Off
Conditionally performs specific events based on the state of an Input, Output, or Boolean Type
Variable. If an Event Label is used, events are jumped over if the condition is true. If an Else or
End If event is used, events are executed inside the area between the If and the End If if the
condition is true.
If On Is true if an Input, Output, or Boolean Type Variable is "on".
If Off Is true if an Input, Output, or Boolean Type Variable is "off".
Note A branch event causes no change in time within the sequence; all events occur based on
time from sequence start.
Event Syntax Using "End If"
Time
Event
Data1
00:00.00
Event Name
Name of Input, Output, or
Boolean Type Variable
00:00.00
Executed if condition is true
Events
00:00.00
End If
Event Syntax Using "Label"
Label
Time
Event
Data1
Data2
00:00.00
Event Name
Name of Input,
Output, or
Boolean Type
Variable
Event Label
00:00.00
Skipped if
condition is
true
Events
Event Label
00:00.00
Some Event
Example using "End If"

Table of Contents