NewVector() - The New Vector Command

The NewVector() command specifies a new location for the task to start the next time it is run.

Syntax

NewVector(label)
Where label is the location you want to start from next time.

Example

This task will toggle between turning lights on and off when run repeatedly.

{
LightsOn:
    Preset(A=5,P=1)
    Preset(A=8,P=1)
    NewVector(LightsOff)
    Null

LightsOff:
    Preset(A=5,P=4)
    Preset(A=8,P=4)
    NewVector(LightsOn)
    Null
}