The ExecLib Command
OPENLIB.png

Command Summary

Calls a library routine from an application opened with OpenLib(

Command Syntax

ExecLib

Menu Location

This command can be found in the Prgm Editor CTL menu, press:

  1. Press "PRGM" while in the Program Editor.
  2. Go to the last command and press "Enter".

Calculator Compatibility

TI-84+/SE

Token Size

2 bytes

Together with OpenLib(, ExecLib is used on the TI-84 Plus and TI-84 Plus SE for running routines from a Flash App library. This only works, of course, with libraries that have been specifically written for this purpose. The only such library so far is usb8x, for advanced interfacing with the USB port.

Since ExecLib doesn't have any arguments, it would normally be able to run only one library routine. To get around this, usb8x uses a list passed in Ans as arguments to the command. This is most likely how any future libraries will do it as well.

The following program, which displays the version of usb8x, is an example of how to use OpenLib( and ExecLib:

:OpenLib(USBDRV8X
:{6
:ExecLib
:Ans(2)+.01Ans(3

Download usb8x here. You may also be interested in MSD8x which is a GUI for usb8x.

Related Commands

.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.