beautypg.com

Casio fx-9860G SD User Manual

Page 410

background image

20050401

8-5-10

Command Reference

Goto~Lbl

Function: This command performs an unconditional jump to a specified location.

Syntax: Goto

Parameters: label name: value (0 to 9), variable (A to Z,

r

,

θ)

Description:

• This command consists of two parts: Goto n (where n is a parameter as described above)

and Lbl n (where n is the parameter referenced by Goto n). This command causes program
execution to jump to the Lbl-statement whose n parameter matches that specified by the
Goto-statement.

• This command can be used to loop back to the beginning of a program or to jump to any

location within the program.

• This command can be used in combination with conditional jumps and count jumps.

• If there is no Lbl-statement whose value matches that specified by the Goto-statement, an

error occurs.