Goes to subroutine [subNo].


Access: Write

Category: Standalone

Applies to: All Commander Controllers


ASCII                        GS

Standalone                GOSUB


Syntax        

               

Write

GS[subNo] 

GOSUB[subNo]                 

[subNo] specifies the subroutine number to execute (0 – 31)


Reply 

Command is accepted and executed

Write           

OK


Command cannot be processed

       An error message is returned. See Error Codes


Example 

Write  

GS5         * A-Script subroutine 5 will be executed


Notes

None


See also

Standalone Programming Commands

SACTRL, SAP, SASTAT, SLOAD, V, SPC


Commander Manual

Identification Number