Homeworld Effects Manual: goto()

goto(string label)

Jumps to a specified label.

Most Computer Science professors will tell you that a well-written program will never require a goto statement. But since there are no while() or for() statements in this languages, you'll need goto() and if() to emulate those structures. Jumping between different section of the file, i.e. using a goto() in eachFrame to jump to startup is possible, but not recommended.