EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 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 #199 background imageLoading...
Page #199 background image
Chapter 14: Data Types
157
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
14.9. Tokenized Programs and Functions
Programs and functions are stored similarly and both use the same tag
(USER_DEF_TAG). There are two formats depending on whether the
program/function is tokenized or in text format. The tokenized format is listed
below. There is a routine,
GetFuncPrgmBodyPtr
, that given a pointer to a
USER_DEF_TAG returns the pointer to the function or program body — that is it
skips all of the parameters and flags.
Description Bytes
Data Length of program/function 2
END_OF_SEGMENT 1
Tokenized statements variable
PRGM_TAG or FUNC_BEGIN_TAG
1
END_TAG (terminates parameter list) 1
Parameter List variable
In-Use Counter 1
Flag 2 (reserved)
1
Flag 1
1
USER_DEF_TAG 1
Table 14.13: Data Object for a Tokenized Program or Function
This byte is PRGM_TAG for programs and FUNC_BEGIN_TAG for functions.
This flag is reserved for future use, except for Bit 0, the LOCK flag. If the LOCK flag is set,
the program will be locked on transmit, or is locked on receive.
This flag byte contains the flags listed below. For tokenized programs/functions the
FF_PARSE flag bit will be set to zero.

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals