HP 39gII User Manual page 274

Graphing calculator
Hide thumbs Also See for 39gII:
Table of Contents

Advertisement

I/O Commands
EDITLIST
EDITMAT
INPUT
PRINT
264
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.
Syntax: EDITLIST(listvar)
Starts the list editor, loading listvar.
Example: EDITLIST(L1) edits list L1.
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.
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
not update the variable, and returns 0.
Example:
EXPORT SIDES;
EXPORT GETSIDES()
BEGIN
INPUT(SIDES,"Die Sides","N = ","Enter num
sides",2);
END;
Syntax: PRINT(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 PRINT commands are
executed. When visible, you can use
the text,
C
to erase the text and any other key to hide
the terminal. You can show the terminal at anytime using
, it does
\
and
=
to view
Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents