EasyManuals Logo
Home>Texas Instruments>Calculator>TI-83-Plus

Texas Instruments TI-83-Plus User Manual

Texas Instruments TI-83-Plus
188 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 #48 background imageLoading...
Page #48 background image
38 Chapter 2: TI-83 Plus Specific Information
TI-83 Plus Developer Guide Third Release May 28, 2002
For example, create a real list CAT with one element and initialize that element
to a value of five. Return CA = 0 if the variable is created, else CA = 1 if there is
not enough memory.
Create_CAT:
LD HL,CatName
B_CALL Mov9ToOP1 ; OP1 = name
;
AppOnErr NoMem ; install error handler
;
LD HL,1 ; 1 element list
B_CALL CreateRList ; ret from call if no mem error
INC DE
INC DE ; DE = pointer to start of element 1
LD HL,FP_5
LD BC,9
LDIR ; set first element = 5
;
AppOffErr ; remove error handler
;
OR A ;CA=0ifsuccessful
RET
CatName:
DB ListObj, tVarLst, ‘CAT’, 0
FP_5:
DB 00h,80h,50h,00h,00,00,00,00,00
;
; control comes here if memory error during create
;
NoMem:
SCF ;CA=1ifnotsuccessful
RET
Storing to Variables
There are system routines that can be used to store to the entire contents of a variable’s
data structure.
These routines store a real or complex variable to N, X, Y, R, T, θ.
StoN StoX StoY
StoR StoT StoTheta
StoAns stores any numeric, equation or string to Ans.
StoOther stores to any numeric, equation or string variable.
Attributes of these routines include:
If the variable that is being stored to does not exist, it is created if enough free RAM
is available.
The current contents of the variable are not deleted if the new data being stored to
the variable does not fit in memory.

Table of Contents

Other manuals for Texas Instruments TI-83-Plus

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments TI-83-Plus Specifications

General IconGeneral
BrandTexas Instruments
ModelTI-83-Plus
CategoryCalculator
LanguageEnglish

Related product manuals