PickBASIC / FlashBASIC

goto statement

.md

The goto statement transfers control to the location in the FlashBASIC or BASIC program that begins with the given statement label.

Synonymsgo

On statement labels beginning with a nonnumeric value, the : following the statement.label is optional in the goto, but is required following the actual statement label.

Syntax

goto statement.label{:}
go to statement.label{:}

Parameter(s)

statement.label Specifies the location in a FlashBASIC or BASIC program to which control is transferred.

Example(s)

goto 99
go to error
if ans=’y’ then go begin

See also

Referenced by