Using libraries, Installing and attaching a library, Using libraries ,26-12 – HP 50g Graphing Calculator User Manual

Page 780: Installing and attaching a library ,26-12

Advertising
background image

Page 26-12

This will store the object previously on the stack onto the SD card into the
directory named PROGS into an object named PROG1. Note: If PROGS does
not exist, the directory will be automatically created.

You can specify any number of nested subdirectories. For example, to refer to
an object in a third-level subdirectory, your syntax would be:

:3:”DIR1/DIR2/DIR3/NAME”

Note that pressing ~ …/ produces the forward slash character.

Using libraries

Libraries are user-created binary-language programs that can be loaded into
the calculator and made available for use from within any sub-directory of the
HOME directory. In addition, the calculator is shipped with two libraries that
together provide all the functionality of the Equation Library.

Libraries can be downloaded into the calculator as a regular variable, and,
then, installed and attached to the HOME directory.

Installing and attaching a library

To install a library, list the library contents in the stack (use ‚ variable soft-
menu key, or function RCL) and store it into port 0 or 1. For example, to install
a library variable into a port use:

Θ In algebraic mode:STO(Library_variable, port_number)
Θ In RPN mode: Library_variable ` port_number K

After installing the library contents in port memory you need to attach the
library to the HOME directory. This can be accomplished by rebooting the
calculator (turning the calculator off and back on), or by pressing,
simultaneously, $C. At this point the library should be available for use.
To see the library activation menu use the LIB menu (‚á). The library
name will be listed in this menu.

Advertising