| Tags | Type (Enumeration)

args.h, estack.h

enum Tags {...};

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

This enum is very large, as there are a lot of various entries. See top_estack for more info about how entries on the expression stack are organized. Here is a complete list of tags with their values in hexadecimal notation, along with their meaning written in RPN:

00 | VAR_NAME_TAG | variable name (with more than one letter): '\0' var_name '\0'
01 | _VAR_Q_TAG | variable q (but not used - 1B is used normally)
02 | VAR_R_TAG | variable r
03 | VAR_S_TAG | variable s
04 | VAR_T_TAG | variable t
05 | VAR_U_TAG | variable u
06 | VAR_V_TAG | variable v
07 | VAR_W_TAG | variable w
08 | VAR_X_TAG | variable x
09 | VAR_Y_TAG | variable y
0A | VAR_Z_TAG | variable z
0B | VAR_A_TAG | variable a
0C | VAR_B_TAG | variable b
0D | VAR_C_TAG | variable c
0E | VAR_D_TAG | variable d
0F | VAR_E_TAG | variable e
10 | VAR_F_TAG | variable f
11 | VAR_G_TAG | variable g
12 | VAR_H_TAG | variable h
13 | VAR_I_TAG | variable i
14 | VAR_J_TAG | variable j
15 | VAR_K_TAG | variable k
16 | VAR_L_TAG | variable l
17 | VAR_M_TAG | variable m
18 | VAR_N_TAG | variable n
19 | VAR_O_TAG | variable o
1A | VAR_P_TAG | variable p
1B | VAR_Q_TAG | variable q
1C | EXT_SYSTEM_TAG | system token (a byte before the tag identifies a system variable, see SysvarTags)
1D | ARB_REAL_TAG | arbitrary real number @xxx (byte before the tag determines xxx)
1E | ARB_INT_TAG | arbitrary integer number @nxxx (byte before the tag determines xxx)
1F | POSINT_TAG | positive integer tag
20 | NEGINT_TAG | negative integer tag
21 | POSFRAC_TAG | positive fraction tag
22 | NEGFRAC_TAG | negative fraction tag
23 | FLOAT_TAG | floating point tag
23 | BCD_TAG | floating point tag (alias tag name)
24 | PI_TAG | constant p
25 | EXP_TAG | constant e
26 | IM_TAG | constant i
27 | NEGINFINITY_TAG | -¥
28 | INFINITY_TAG | ¥
29 | PN_INFINITY_TAG | +/- ¥
2A | UNDEF_TAG | undef
2B | FALSE_TAG | false
2C | TRUE_TAG | true
2D | STR_TAG | string tag: '\0' string '\0' STR_TAG
2E | NOTHING_TAG | allows missing terms in expressions
2F | ACOSH_TAG | expr acosh
30 | ASINH_TAG | expr asinh
31 | ATANH_TAG | expr atanh
32 | ASECH_TAG | expr asech (AMS 2.08 or higher)
33 | ACSCH_TAG | expr acsch (AMS 2.08 or higher)
34 | ACOTH_TAG | expr acoth (AMS 2.08 or higher)
35 | COSH_TAG | expr cosh
36 | SINH_TAG | expr sinh
37 | TANH_TAG | expr tanh
38 | SECH_TAG | expr sech (AMS 2.08 or higher)
39 | CSCH_TAG | expr csch (AMS 2.08 or higher)
3A | COTH_TAG | expr coth (AMS 2.08 or higher)
3B | ACOS_TAG | expr acos
3C | ASIN_TAG | expr asin
3D | ATAN_TAG | expr atan
3E | ASEC_TAG | expr asec (AMS 2.08 or higher)
3F | ACSC_TAG | expr acsc (AMS 2.08 or higher)
40 | ACOT_TAG | expr acot (AMS 2.08 or higher)
41 | RACOS_TAG | expr arcos (used only internally)
42 | RASIN_TAG | expr arsin (used only internally)
43 | RATAN_TAG | expr artan (used only internally)
44 | COS_TAG | expr cos
45 | SIN_TAG | expr sin
46 | TAN_TAG | expr tan
47 | SEC_TAG | expr sec (AMS 2.08 or higher)
48 | CSC_TAG | expr csc (AMS 2.08 or higher)
49 | COT_TAG | expr cot (AMS 2.08 or higher)
4A | ITAN_TAG | expr tan (used only internally)
4B | ABS_TAG | expr abs
4C | ANGLE_TAG | expr angle
4D | CEILING_TAG | expr ceiling
4E | FLOOR_TAG | expr floor
4F | INT_TAG | expr int
50 | SIGN_TAG | expr sign
51 | SQRT_TAG | expr Ö
52 | EXPF_TAG | expr e^
53 | LN_TAG | expr ln
54 | LOG_TAG | expr log
55 | FPART_TAG | expr fPart
56 | IPART_TAG | expr iPart
57 | CONJ_TAG | expr conj
58 | IMAG_TAG | expr imag
59 | REAL_TAG | expr real
5A | APPROX_TAG | expr approx
5B | TEXPAND_TAG | expr tExpand
5C | TCOLLECT_TAG | expr tCollect
5D | GETDENOM_TAG | expr getDenom
5E | GETNUM_TAG | expr getNum
5F | ERROR_TAG | expr _ERROR_ (used only internally)
60 | CUMSUM_TAG | list cumSum
61 | DET_TAG | mat det
62 | COLNORM_TAG | mat colNorm
63 | ROWNORM_TAG | mat rowNorm
64 | NORM_TAG | mat norm
65 | MEAN_TAG | list mean
66 | MEDIAN_TAG | list median
67 | PRODUCT_TAG | list product
68 | STDDEV_TAG | list stdDev
69 | SUM_TAG | list sum
6A | VARIANCE_TAG | list variance
6B | UNITV_TAG | vec unitV
6C | DIM_TAG | mat dim
6D | MAT2LIST_TAG | mat mat>list
6E | NEWLIST_TAG | no_of_elements newList
6F | RREF_TAG | mat rref
70 | REF_TAG | mat ref
71 | IDENTITY_TAG | integer identity
72 | DIAG_TAG | mat diag
73 | COLDIM_TAG | mat colDim
74 | ROWDIM_TAG | mat rowDim
75 | TRANSPOSE_TAG | mat T
76 | FACTORIAL_TAG | expr !
77 | PERCENT_TAG | expr %
78 | RADIANS_TAG | expr r
79 | NOT_TAG | expr not
7A | MINUS_TAG | expr _negative_
7B | VEC_POLAR_TAG | mat _polar_vector_ (mat is assumed to be [[r,q]])
7C | VEC_CYLIND_TAG | mat _cylind_vector_ (mat is assumed to be [[r,q,z]])
7D | VEC_SPHERE_TAG | mat _sphere_vector_ (mat is assumed to be [[r,q,F]])
7E | START_TAG | ( (used only internally, don't use it)
7F | ISTORE_TAG | expr var -> (internal version: don't use)
80 | STORE_TAG | expr var ->
81 | WITH_TAG | condition expr |
82 | XOR_TAG | expr2 expr1 xor
83 | OR_TAG | expr2 expr1 or
84 | AND_TAG | expr2 expr1 and
85 | LT_TAG | expr2 expr1 <
86 | LE_TAG | expr2 expr1 <=
87 | EQ_TAG | expr2 expr1 =
88 | GE_TAG | expr2 expr1 >=
89 | GT_TAG | expr2 expr1 >
8A | NE_TAG | expr2 expr1 /=
8B | ADD_TAG | expr1 expr2 +
8C | ADDELT_TAG | expr1 expr2 .+
8D | SUB_TAG | expr1 expr2 -
8E | SUBELT_TAG | expr1 expr2 .-
8F | MUL_TAG | expr1 expr2 *
90 | MULELT_TAG | expr1 expr2 .*
91 | DIV_TAG | expr1 expr2 /
92 | DIVELT_TAG | expr1 expr2 ./
93 | POW_TAG | expr2 expr1 ^
94 | POWELT_TAG | expr2 expr1 .^
95 | SINCOS_TAG | int expr trig (where trig(expr,int)=cos(expr+(int-1)*pi/2))
96 | SOLVE_TAG | var equation solve
97 | CSOLVE_TAG | var equation cSolve
98 | NSOLVE_TAG | var equation nSolve
99 | ZEROS_TAG | var expr_in_var zeros
9A | CZEROS_TAG | var expr_in_var cZeros
9B | FMIN_TAG | var expr_in_var fMin
9C | FMAX_TAG | var expr_in_var fMax
9D | COMPLEX_TAG | complex number
9E | POLYEVAL_TAG | expr list polyEval
9F | RANDPOLY_TAG | order var randPoly
A0 | CROSSP_TAG | vec2 vec1 crossP
A1 | DOTP_TAG | vec2 vec1 dotP
A2 | GCD_TAG | expr2 expr1 gcd
A3 | LCM_TAG | expr2 expr1 lcm
A4 | MOD_TAG | expr2 expr1 mod
A5 | INTDIV_TAG | expr2 expr1 intDiv
A6 | REMAIN_TAG | expr2 expr1 remain
A7 | NCR_TAG | expr2 expr1 nCr
A8 | NPR_TAG | expr2 expr1 nPr
A9 | P2RX_TAG | q_expr r_expr P>Rx
AA | P2RY_TAG | q_expr r_expr P>Ry
AB | P2PTHETA_TAG | y_expr x_expr R>Pq
AC | P2PR_TAG | y_expr x_expr R>Pr
AD | AUGMENT_TAG | mat2 mat1 augment
AE | NEWMAT_TAG | num_columns num_rows newMat
AF | RANDMAT_TAG | num_columns num_rows randMat
B0 | SIMULT_TAG | vec mat simult
B1 | PART_TAG | [#] expr part
B2 | EXP2LIST_TAG | var list exp>list
B3 | RANDNORM_TAG | sd mean randNorm
B4 | MROW_TAG | [] index mat expr mRow
B5 | ROWADD_TAG | [] index2 index1 mat rowAdd
B6 | ROWSWAP_TAG | [] index2 index1 mat rowSwap
B7 | ARCLEN_TAG | [] end start var expr arcLen
B8 | NINT_TAG | [] up low var expr nInt
B9 | PI_PRODUCT_TAG | [] high low var expr Õ
BA | SIGMA_SUM_TAG | [] high low var expr å
BB | MROWADD_TAG | [] index2 index1 mat expr mRowAdd
BC | ANS_TAG | [int] ans
BD | ENTRY_TAG | [int] entry
BE | EXACT_TAG | [tol] expr exact
BF | LOGB_TAG | expr2 expr1 logb (where logb(expr1,expr2)=ln(expr1)/ln(expr2))
C0 | COMDENOM_TAG | [var] expr comDenom
C1 | EXPAND_TAG | [var] expr expand
C2 | FACTOR_TAG | [var] expr factor
C3 | CFACTOR_TAG | [var] expr cFactor
C4 | INTEGRATE_TAG | [up low] var expr ò
C5 | DIFFERENTIATE_TAG | [order] var expr ¶
C6 | AVGRC_TAG | [h] var expr avgRC
C7 | NDERIV_TAG | [h] var expr nDeriv
C8 | TAYLOR_TAG | [point] order var expr taylor
C9 | LIMIT_TAG | [direction] point var expr limit
CA | PROPFRAC_TAG | [var] expr propFrac
CB | WHEN_TAG | [[undef_val] false_val] true_val condition when
CC | ROUND_TAG | [digits] expr round
CD | DMS_TAG | [[ss] mm] dd _DMSNUMBER_
CE | LEFT_TAG | [num] string left
CF | RIGHT_TAG | [num] string right
D0 | MID_TAG | [count] start string mid
D1 | SHIFT_TAG | [int] list shift
D2 | SEQ_TAG | [step] high low var expr seq
D3 | LIST2MAT_TAG | [elements_per_row] list list->mat
D4 | SUBMAT_TAG | [[[[col2] row2] col1] row1] mat subMat
D5 | SUBSCRIPT_TAG | [col] row var _subscript_ (i.e. var[row] or var[row,col])
D6 | RAND_TAG | [int] rand
D7 | MIN_TAG | [expr2] list|expr1 min
D8 | MAX_TAG | [expr2] list|expr1 max
D9 | LIST_TAG | list tag, or matrix represented as "list of list"
DA | USERFUNC_TAG | user defined function/program call: [[...] arg1] '\0' fnc_name '\0' USERFUNC_TAG
DB | MATRIX_TAG | matrix tag (only in data editor)
DC | FUNC_TAG | program/function tag (not used in expressions)
DD | DATA_TAG | data tag (not used in expressions)
DE | GDB_TAG | GDB tag (not used in expressions)
DF | PIC_TAG | picture tag (not used in expressions)
E0 | TEXT_TAG | text tag (not used in expressions)
E1 | FIG_TAG | figure tag (not used in expressions)
E2 | MAC_TAG | macro tag (not used in expressions)
E3 | EXT_TAG | extra TI-Basic function token (see ExtTags)
E4 | EXT_INSTR_TAG | TI-Basic command token (not used in expressions, see InstructionTags)
E5 | END_TAG | end of the expression or the list
E6 | COMMENT_TAG | comment (not used in expressions): '\0' string '\0' indentation COMMENT_TAG, where indentation is a single byte indicating the number of spaces between © and the first comment character
E7 | NEXTEXPR_TAG | ":" between tokens on same line in the program (not used in expressions): indentation NEXTEXPR_TAG, where indentation is a single byte indicating the number of spaces between : and the first character of the next logical line
E8 | NEWLINE_TAG | marks end of line in TI-Basic (not used in expressions): indentation NEWLINE_TAG, where indentation is a single byte indicating the number of spaces in front of the first character of the next line
E9 | ENDSTACK_TAG | end of TI-Basic program (not used in expressions), or end of the expression stack
EA | PN1_TAG | expr +/-
EB | PN2_TAG | expr1 expr2 +/-
EC | ERROR_MSG_TAG | name error_message
ED | EIGVC_TAG | mat eigVc
EE | EIGVL_TAG | mat eigVl
EF | DASH_TAG | expr ' (prime, i.e. expr')
F0 | LOCALVAR_TAG | var _local_ (parameter/local variable reference)
F1 | DESOLVE_TAG | [] depend_var indep_var equation deSolve
F2 | FDASH_TAG | func_params func_name ' (prime, i.e. func_name'(func_params)
F3 | ASM_TAG | ASM program tag (not used in expressions)
F4 | ISPRIME_TAG | int isPrime
F8 | OTH_TAG | Other file tag, for custom file types (not used in expressions)
F9 | ROTATE_TAG | [count] list|int|string rotate

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.