| ExtTags | Type (Enumeration)

estack.h

enum ExtTags {...};

An enumeration to describe extra types of entries on the expression stack.

If the tag of an entry on the expression stack is EXT_TAG (0xE3), then the byte below it is the extra TI-Basic function tag. ExtTags is enumerated type for describing such extended entries (see top_estack for more info about how entries on the expression stack are organized). This enum is quite big, and here is a complete list of extended function tags defined in it (all values are in hex), with their meaning (used notation is RPN):

01 | INDIR_TAG | string_expr # (indirection)
02 | GETKEY_TAG | [] getKey
03 | GETFOLD_TAG | [] getFold
04 | SWITCH_TAG | [int] switch
05 | UNITCONV_TAG | unit1 unit2 > (unit conversion, unit1 |> unit2)
06 | ORD_TAG | string ord
07 | EXPR_TAG | string expr
08 | CHAR_TAG | int char
09 | STRING_TAG | expr string
0A | GETTYPE_TAG | var getType
0B | GETMODE_TAG | string getMode
0C | SETFOLD_TAG | var setFold
0D | PTTEST_TAG | y x ptTest
0E | PXLTEST_TAG | column row pxlTest
0F | SETGRAPH_TAG | string string setGraph
10 | SETTABLE_TAG | string string setTable
11 | SETMODE_TAG | [] string string setMode
12 | FORMAT_TAG | [string] expr format
13 | INSTRING_TAG | [start] substring search-string inString
14 | APPEND_TAG | string1 string2 & (append)
15 | DD_TAG | dmsnumber >DD
16 | EXPR2DMS_TAG | expr >DMS
17 | VEC2RECT_TAG | vec >Rect
18 | VEC2POLAR_TAG | vec >Polar
19 | VEC2CYLIND_TAG | vec >Cylind
1A | VEC2SPHERE_TAG | vec >Sphere
1B | PARENTH_START_TAG | ( (used only internally for the parser, not in expressions)
1C | PARENTH_END_TAG | ) (used only internally for the parser, not in expressions)
1D | MAT_START_TAG | [ (used only internally for the parser, not in expressions)
1E | MAT_END_TAG | ] (used only internally for the parser, not in expressions)
1F | LIST_START_TAG | { (used only internally for the parser, not in expressions)
20 | LIST_END_TAG | } (used only internally for the parser, not in expressions)
21 | COMMA_TAG | , (used only internally for the parser, not in expressions)
22 | SEMICOLON_TAG | ; (used only internally for the parser, not in expressions)
23 | COMPLEX_ANGLE_TAG | /_ (used only internally for the parser, not in expressions)
24 | SINGLE_QUOTE_TAG | ' (used only internally for the parser, not in expressions)
25 | QUOTE_TAG | " (used only internally for the parser, not in expressions)
26 | POLCPLX_TAG | magnitude angle /_ (polar complex number)
27 | TMPCNV_TAG | expr2 expr1 tmpCnv
28 | DELTA_TMPCNV_TAG | expr2 expr1 DtmpCnv
29 | GETUNITS_TAG | [] getUnits
2A | SETUNITS_TAG | list setUnits
2B | BIN_TAG | int 0b (i.e. 0b int)
2C | HEX_TAG | expr 0h (i.e. 0h expr)
2D | INT2BIN_TAG | int >Bin
2E | INT2DEC_TAG | int >Dec
2F | INT2HEX_TAG | int >Hex
30 | DET_TOL_TAG | tol mat det
31 | REF_TOL_TAG | tol mat ref
32 | RREF_TOL_TAG | tol mat rref
33 | SIMULT_TOL_TAG | tol vec mat simult
34 | GETCONFG_TAG | [] getConfg
35 | V_AUGMENT_TAG | mat2 ; mat1 augment
36 | MEAN_TWOARG_TAG | list list mean (AMS 2.00 or higher)
37 | PRODUCT_TWOARG_TAG | [end] start list product (AMS 2.00 or higher)
38 | STDDEV_TWOARG_TAG | list list stdDev (AMS 2.00 or higher)
39 | SUM_TWOARG_TAG | [end] start list sum (AMS 2.00 or higher)
3A | VARIANCE_TWOARG_TAG | list list variance (AMS 2.00 or higher)
3B | DELTA_LIST_TAG | list Dlist (AMS 2.00 or higher)
46 | ISCLKON_TAG | [] isClkOn (AMS 2.07 or higher)
47 | GETDATE_TAG | [] getDate (AMS 2.07 or higher)
48 | GETTIME_TAG | [] getTime (AMS 2.07 or higher)
49 | GETTMZN_TAG | [] getTmZn (AMS 2.07 or higher)
4A | SETDATE_TAG | [] d mo y setDate (AMS 2.07 or higher)
4B | SETTIME_TAG | [] s min h setTime (AMS 2.07 or higher)
4C | SETTMZN_TAG | int setTmZn (AMS 2.07 or higher)
4D | DAYOFWK_TAG | [] d mo y dayOfWk (AMS 2.07 or higher)
4E | STARTTMR_TAG | [] startTmr (AMS 2.07 or higher)
4F | CHECKTMR_TAG | seconds checkTmr (AMS 2.07 or higher)
50 | TIMECNV_TAG | seconds timeCnv (AMS 2.07 or higher)
51 | GETDTFMT_TAG | [] getDtFmt (AMS 2.07 or higher)
52 | GETTMFMT_TAG | [] getTmFmt (AMS 2.07 or higher)
53 | GETDTSTR_TAG | [int] getDtStr (AMS 2.07 or higher)
54 | GETTMSTR_TAG | [int] getTmStr (AMS 2.07 or higher)
55 | SETDTFMT_TAG | [int] setDtFmt (AMS 2.07 or higher)
56 | SETTMFMT_TAG | [int] setTmFmt (AMS 2.07 or higher)

Note: An empty list [] of optional arguments means the function does not take any optional arguments, but an END_TAG is needed nonetheless.
Note: For compatibility with TI's compiler, their tag names are also supported.