beautypg.com

K clear commands (clear) – Casio FX-CG10 User Manual

Page 303

background image

8-19

Menu

Function: Creates a branching menu in a program.

Syntax: Menu "", "", ,
"" ,, ... , "

n

>",

variable

n

>

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

r

,

θ )

Description:

• Each "

n

>" ,

n

> part is a branch set, and the entire

branch set must be included.

• From two to nine branching sets can be included. An error occurs when there is only one or

more than nine branching sets.

• Selecting a branch on the menu while the program is running jumps to the same type of label

(Lbl

n

) as the one used in combination with the Goto command. Specifying “"OK", 3” for the

“"

n

>",

n

>” part specifies a jump to Lbl 3.

Example: Lbl 2

_

Menu "IS IT DONE?", "OK", 1, "EXIT", 2

_

Lbl

1

_

"IT’S DONE !"

k Clear Commands (CLEAR)

ClrGraph

Function: This command clears the graph screen.

Syntax: ClrGraph

Description: This command clears the graph screen during program execution.

ClrList

Function: This command deletes list data.

Syntax: ClrList

ClrList

Parameters: list name: 1 to 26, Ans

Description: This command deletes the data in the list specified by “list name”. All list data is
deleted if nothing is specified for “list name”.

This manual is related to the following products: