264
Programming
I/O Commands
This section describes commands for inputting data into a
program, and for outputting data from a program. These
commands allow users to interact with programs.
These commands start the Matrix and List editors.
EDITLIST
Syntax:
EDITLIST
(
listvar
)
Starts the list editor, loading
listvar
.
Example:
EDITLIST
(
L1
) edits list L1.
EDITMAT
Syntax:
EDITMAT
(
matrixvar
)
Starts the Matrix Editor and displays the specified matrix.
If used in programming, returns to the program when user
presses .
Example:
EDITMAT
(
M1
) edits matrix M1.
INPUT
Syntax:
INPUT
(
var
[,
"title", "label", "help", default
]);
Starts a dialog box with the title text,
title
, with one field
named
label
, displaying
help
at the bottom and using the
default
value
. Updates the variable
var
if the user presses
and returns 1. If the user presses
, it does
not update the variable, and returns 0.
Example:
EXPORT SIDES;
EXPORT GETSIDES()
BEGIN
INPUT(SIDES,"Die Sides","N = ","Enter num
sides",2);
END;
Syntax:
(
expression or string
);
Prints the result of expression or string to the terminal.
The terminal is a program text output viewing mechanism
which is displayed only when
commands are
executed. When visible, you can use
\
and
=
to view
the text,
C
to erase the text and any other key to hide
the terminal. You can show the terminal at anytime using
Summary of Contents for 39gII
Page 1: ...HP 39gII graphing calculator user s guide Edition1 Part Number NW249 90001 ...
Page 2: ...Printing History Edition 1 November 201 1 ...
Page 32: ...22 Getting started ...
Page 58: ...48 Apps and their views ...
Page 70: ...60 Function app ...
Page 80: ...70 Solve app ...
Page 136: ...126 Polar app ...
Page 140: ...130 Sequence app ...
Page 148: ...138 Finance app ...
Page 152: ...142 Linear Solver app ...
Page 218: ...208 Matrices ...
Page 226: ...216 Notes and Info ...
Page 238: ...228 Variables and memory management ...
Page 318: ...308 Programming ...
Page 340: ...330 Reference information ...
Page 346: ...vi Product Regulatory Information ...