[Home] [Console] [Guide] [Applications] [Index] [Back]

anchor_, goto_

The most controversial statement in all of programming is goto. In Sxript, the place we actually "go-to" is called an anchor, which must appear in the same subprogram or codeblock as goto. An anchor is created by the anchor_ statement, where the name of the anchor is to the right of the underscore. To jump to the anchor in a sub or block, use the goto_ statement, where the anchor name follows the underscore.

Test Window

Output Window