Casio ClassPad II fx-CP400+E User Manual page 211

Graphing calculator
Table of Contents

Advertisement

GetKey
Syntax: GetKey <variable name>
Function: This command assigns the code number of
the last key pressed to the specified variable.
Description:
• This command assigns the code number of the last
key pressed to the specified variable. The following
shows a list of available code numbers.
Key
Code
Key
0
+
48
1
-
49
2
*
50
3
/
51
4
=
52
5
(
53
6
)
54
7
,
55
8
z
56
9
x
57
.
y
46
e
Z
147
• 0 is assigned to the variable if no key was pressed.
GetPen
Syntax: GetPen <variable name 1>, <variable name
2>
Function: This command assigns the coordinates of
the point tapped on the screen to a specified variable.
Description: This command assigns the
(horizontal axis) to <variable 1> and the
(vertical axis) to <variable 2>. The coordinates at the
point in the upper left corner of the screen are (1, 1),
and coordinate values are specified in the range of
x
1 to 320 for the
-coordinate and 1 to 528 for the
y
-coordinate.
GetType
Syntax: GetType <variable name>, <storage
variable name>
Function: Gets the type of the specified variable and
assigns it to a storage variable as a text string.
Description: The following is a list of variable types.
1
• NUM*
• MAT
• EXPR*
2
• PRGM
• STR
• EXE
• LIST
• TEXT
*1 Real number
*2 Expression
*3 No applicable variable
For details about each type, see "Main Memory Data
Types" (page 28).
I/O - Input
Code
Key
Code
{
43
94
E
45
13
f
60944
28
c
47
29
d
61
30
e
40
31
k
41
144
K
44
145
f
45
8
60856 c
12
60857
60858
I/O - Input
x
-coordinate
y
-coordinate
Misc - Variable
• FUNC
• MEM
• PICT
• OTHR
3
• GMEM
• NONE*
• GEO
GetVar38k
Syntax: GetVar38k <variable name>
Function: Receives variable names and variable
contents.
Description:
• The OpenComPort38k command must be executed
before this command is executed.
• The CloseComPort38k command must be
executed after this command is executed.
Goto~Lbl
Syntax: Goto <label name> : Lbl <label name>
Function: This command causes program execution
to jump to a specific location.
Description:
• <label name> is a text string that is subject to the
same rules as variable names.
• Goto and Lbl are used in pairs. Program execution
jumps from Goto to the Lbl with the same label
name. A single Lbl can be used as the jump
destination of multiple Goto commands.
• This command can be used to loop back to the
beginning of a program or to jump to any location
within the program.
• An error occurs if ClassPad is unable to find a Lbl
with the same label as Goto.
• Note that the # command cannot be used in a label
name.
GraphType
y
Syntax: GraphType "
t" ; "
s" ; "
y
y
y
x
"
<" ; "
>" ; "
Function: Specifies the graph expression input type.
GTSelOff
Syntax: GTSelOff <graph number>
Function: Deselects a graph expression.
Description: Graph number range: 1 to 100
GTSelOn
Syntax: GTSelOn <graph number>
Function: Selects a graph expression.
Description: Graph number range: 1 to 100
H
Histogram
Function: Used as a StatGraph command argument
to specify an option. See StatGraph.
Horizontal
y
Syntax: Horizontal <
command>]
Function: Draws a horizontal line.
Chapter 12: Program Application  211
Chapter 12: Program Application  211
I/O - Communication
Ctrl - Jump
Misc - Graph&Table(1)
r
xt
x
=" ; "
=" ; "
=" ; "
=" ; "
t" ; "
s"
x
x
x
<" ; "
Misc - Graph&Table(1)
Misc - Graph&Table(1)
Misc - Statistics(1) - Graph
I/O - Sketch
-coordinate>[,<color
y
>" ;

Advertisement

Table of Contents
loading

Table of Contents