TI-BASIC:Execlib

From Learn @ Cemetech
Revision as of 18:24, 24 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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 [*http://usb8x.sourceforge.net/ 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

Related Commands