Swapcol, Swaprow, Print commands – HP 39g+ User Manual
Page 235: Prdisplay, Prhistory, Prvar, Prompt commands, Beep
Programming
16-25
SUB
Extracts a sub-object—a portion of a list, matrix, or
graphic from object—and stores it into name. start and
end are each specified using a list with two numbers for
a matrix, a number for vector or lists, or an ordered pair,
(X,Y), for graphics.
SUB
name;object;start;end:
SWAPCOL
Swaps Columns. Exchanges column1 and column2 of the
specified matrix.
SWAPCOL
name;column1;column2:
SWAPROW
Swap Rows. Exchanges row1 and row2 in the specified
matrix.
SWAPROW
name;row1;row2:
Print commands
These commands print to an HP infrared printer, for
example the HP 82240B printer.
PRDISPLAY
Prints the contents of the display.
PRDISPLAY:
PRHISTORY
Prints all objects in the history.
PRHISTORY:
PRVAR
Prints name and contents of variablename.
PRVAR
variablename:
You can also use the PRVAR command to print the
contents of a program or a note.
PRVAR
programname;PROG:
PRVAR
notename;NOTE:
Prompt commands
BEEP
Beeps at the frequency and for the time you specify.
BEEP
frequency;seconds: