EasyManua.ls Logo

HP 39gII - Page 274

HP 39gII
355 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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;
PRINT 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
\and= to view
the text,
Cto erase the text and any other key to hide
the terminal. You can show the terminal at anytime using

Table of Contents

Other manuals for HP 39gII

Related product manuals