EasyManuals Logo
Home>HP>Calculator>40gs

HP 40gs User Manual

HP 40gs
444 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
Page #373 background image
Programming 21-25
REPLACE Replaces portion of a matrix or vector stored in name with
an object starting at position start. start for a matrix is a
list containing two numbers; for a vector, it is a single
number. Replace also works with lists and graphics.
REPLACE name;start;object:
SCALE Multiplies the specified row_number of the specified
matrix by value.
SCALE name;value;rownumber:
SCALEADD Multiplies the row of the matrix name by value, then adds
this result to the second specified row.
SCALEADD name;value;row1;row2:
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:
hp40g+.book Page 25 Friday, December 9, 2005 12:27 AM

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 40gs and is the answer not in the manual?

HP 40gs Specifications

General IconGeneral
BrandHP
Model40gs
CategoryCalculator
LanguageEnglish

Related product manuals