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 #1167 background imageLoading...
Page #1167 background image
Appendix A: System Routines — Variable Name Utilities
1125
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
TokToStrN
Declaration:
BOOL
TokToStrN
(BYTE *
StrSymName
, const BYTE *
TokPtr
)
Category(ies):
Variable Name Utilities
Description:
Convert a tokenized symbol name into an ASCIIZ string. This routine does
not handle reserved names.
Inputs:
StrSymName
Pointer to buffer of MAX_SYM_LEN chars.
TokPtr
Pointer to a tokenized symbol name that is not a
reserved variable.
Outputs:
Return TRUE if symbol converted, FALSE if
TokPtr
does not point to a tag
that represents a variable or is a reserved variable name.
StrSymName
ASCIIZ version of name.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also: StrToTokN
,
TokenizeSymName, TokenizeName
Example:
This is an example TI
-
BASIC callable routine that is passed the name of a
file name. Since the FILE system uses ASCIIZ terminated names,
TokToStrN
is used to convert the input name into ASCIIZ format.
void _FCount(void)
{ Access_AMS_Global_Variables;
char fName[MAX_SYM_LEN];
if (!TokToStrN( (BYTE *) fName, top_estack ))
ER_throw( EXPECTED_VAR_ERROR );
.
.
.
/* fName will be passed to the FILE routines like FOpen */
}

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