User Tools

Site Tools


en:goto

This is an old revision of the document!


Goto (Statement)

Format

goto label

Description

Jumps to the specified label.

Example

print "I";
goto skipit
print " don't";
skipit: #
print " want cookies."

will print

I want cookies.

See Also

Notes

As of version 0.9.9.2 Goto, Gosub, and labels can not be used in Function and Subroutine definitions.

en/goto.1471113389.txt.gz · Last modified: 2020/02/28 10:46 (external edit)