RATS 10.1
RATS 10.1

Instructions /

BRANCH Instruction

Home Page

← Previous Next →

BRANCH has been deprecated in favor of the more standard GOTO. It is no longer documented in the Reference Manual.

 

BRANCH   branchlabel

Jumps to the location of the branch label and continues execution. You can also use GOTO rather than BRANCH.

Parameters

branchlabel

any combination of up to sixteen characters, prefixed with a colon (:). Put at least one blank between the end of the label and the next instruction.

Notes

The BRANCH instruction and the associated branch label must both be part of the same Compiled Section. The BRANCH instruction can be "nested" deeper than the branch label, but you cannot branch into a compiled block from outside that block. For example, you can branch out of a nested loop, but you cannot branch into a nested loop.


Copyright © 2025 Thomas A. Doan