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:

00VAR_NAME_TAGvariable name (with more than one letter): '\0' var_name '\0'
01_VAR_Q_TAGvariable q (but not used - 1B is used normally)
02VAR_R_TAGvariable r
03VAR_S_TAGvariable s
04VAR_T_TAGvariable t
05VAR_U_TAGvariable u
06VAR_V_TAGvariable v
07VAR_W_TAGvariable w
08VAR_X_TAGvariable x
09VAR_Y_TAGvariable y
0AVAR_Z_TAGvariable z
0BVAR_A_TAGvariable a
0CVAR_B_TAGvariable b
0DVAR_C_TAGvariable c
0EVAR_D_TAGvariable d
0FVAR_E_TAGvariable e
10VAR_F_TAGvariable f
11VAR_G_TAGvariable g
12VAR_H_TAGvariable h
13VAR_I_TAGvariable i
14VAR_J_TAGvariable j
15VAR_K_TAGvariable k
16VAR_L_TAGvariable l
17VAR_M_TAGvariable m
18VAR_N_TAGvariable n
19VAR_O_TAGvariable o
1AVAR_P_TAGvariable p
1BVAR_Q_TAGvariable q
1CEXT_SYSTEM_TAGsystem token (a byte before the tag identifies a system variable, see SysvarTags)
1DARB_REAL_TAGarbitrary real number @xxx (byte before the tag determines xxx)
1EARB_INT_TAGarbitrary integer number @nxxx (byte before the tag determines xxx)
1FPOSINT_TAGpositive integer tag
20NEGINT_TAGnegative integer tag
21POSFRAC_TAGpositive fraction tag
22NEGFRAC_TAGnegative fraction tag
23FLOAT_TAGfloating point tag
23BCD_TAGfloating point tag (alias tag name)
24PI_TAGconstant p
25EXP_TAGconstant e
26IM_TAGconstant i
27NEGINFINITY_TAG-¥
28INFINITY_TAG¥
29PN_INFINITY_TAG+/- ¥
2AUNDEF_TAGundef
2BFALSE_TAGfalse
2CTRUE_TAGtrue
2DSTR_TAGstring tag: '\0' string '\0' STR_TAG
2ENOTHING_TAGallows missing terms in expressions
2FACOSH_TAGexpr acosh
30ASINH_TAGexpr asinh
31ATANH_TAGexpr atanh
32ASECH_TAGexpr asech (AMS 2.08 or higher)
33ACSCH_TAGexpr acsch (AMS 2.08 or higher)
34ACOTH_TAGexpr acoth (AMS 2.08 or higher)
35COSH_TAGexpr cosh
36SINH_TAGexpr sinh
37TANH_TAGexpr tanh
38SECH_TAGexpr sech (AMS 2.08 or higher)
39CSCH_TAGexpr csch (AMS 2.08 or higher)
3ACOTH_TAGexpr coth (AMS 2.08 or higher)
3BACOS_TAGexpr acos
3CASIN_TAGexpr asin
3DATAN_TAGexpr atan
3EASEC_TAGexpr asec (AMS 2.08 or higher)
3FACSC_TAGexpr acsc (AMS 2.08 or higher)
40ACOT_TAGexpr acot (AMS 2.08 or higher)
41RACOS_TAGexpr arcos (used only internally)
42RASIN_TAGexpr arsin (used only internally)
43RATAN_TAGexpr artan (used only internally)
44COS_TAGexpr cos
45SIN_TAGexpr sin
46TAN_TAGexpr tan
47SEC_TAGexpr sec (AMS 2.08 or higher)
48CSC_TAGexpr csc (AMS 2.08 or higher)
49COT_TAGexpr cot (AMS 2.08 or higher)
4AITAN_TAGexpr tan (used only internally)
4BABS_TAGexpr abs
4CANGLE_TAGexpr angle
4DCEILING_TAGexpr ceiling
4EFLOOR_TAGexpr floor
4FINT_TAGexpr int
50SIGN_TAGexpr sign
51SQRT_TAGexpr Ö
52EXPF_TAGexpr e^
53LN_TAGexpr ln
54LOG_TAGexpr log
55FPART_TAGexpr fPart
56IPART_TAGexpr iPart
57CONJ_TAGexpr conj
58IMAG_TAGexpr imag
59REAL_TAGexpr real
5AAPPROX_TAGexpr approx
5BTEXPAND_TAGexpr tExpand
5CTCOLLECT_TAGexpr tCollect
5DGETDENOM_TAGexpr getDenom
5EGETNUM_TAGexpr getNum
5FERROR_TAGexpr _ERROR_ (used only internally)
60CUMSUM_TAGlist cumSum
61DET_TAGmat det
62COLNORM_TAGmat colNorm
63ROWNORM_TAGmat rowNorm
64NORM_TAGmat norm
65MEAN_TAGlist mean
66MEDIAN_TAGlist median
67PRODUCT_TAGlist product
68STDDEV_TAGlist stdDev
69SUM_TAGlist sum
6AVARIANCE_TAGlist variance
6BUNITV_TAGvec unitV
6CDIM_TAGmat dim
6DMAT2LIST_TAGmat mat>list
6ENEWLIST_TAGno_of_elements newList
6FRREF_TAGmat rref
70REF_TAGmat ref
71IDENTITY_TAGinteger identity
72DIAG_TAGmat diag
73COLDIM_TAGmat colDim
74ROWDIM_TAGmat rowDim
75TRANSPOSE_TAGmat T
76FACTORIAL_TAGexpr !
77PERCENT_TAGexpr %
78RADIANS_TAGexpr r
79NOT_TAGexpr not
7AMINUS_TAGexpr _negative_
7BVEC_POLAR_TAGmat _polar_vector_ (mat is assumed to be [[r,q]])
7CVEC_CYLIND_TAGmat _cylind_vector_ (mat is assumed to be [[r,q,z]])
7DVEC_SPHERE_TAGmat _sphere_vector_ (mat is assumed to be [[r,q,F]])
7ESTART_TAG( (used only internally, don't use it)
7FISTORE_TAGexpr var -> (internal version: don't use)
80STORE_TAGexpr var ->
81WITH_TAGcondition expr |
82XOR_TAGexpr2 expr1 xor
83OR_TAGexpr2 expr1 or
84AND_TAGexpr2 expr1 and
85LT_TAGexpr2 expr1 <
86LE_TAGexpr2 expr1 <=
87EQ_TAGexpr2 expr1 =
88GE_TAGexpr2 expr1 >=
89GT_TAGexpr2 expr1 >
8ANE_TAGexpr2 expr1 /=
8BADD_TAGexpr1 expr2 +
8CADDELT_TAGexpr1 expr2 .+
8DSUB_TAGexpr1 expr2 -
8ESUBELT_TAGexpr1 expr2 .-
8FMUL_TAGexpr1 expr2 *
90MULELT_TAGexpr1 expr2 .*
91DIV_TAGexpr1 expr2 /
92DIVELT_TAGexpr1 expr2 ./
93POW_TAGexpr2 expr1 ^
94POWELT_TAGexpr2 expr1 .^
95SINCOS_TAGint expr trig (where trig(expr,int)=cos(expr+(int-1)*pi/2))
96SOLVE_TAGvar equation solve
97CSOLVE_TAGvar equation cSolve
98NSOLVE_TAGvar equation nSolve
99ZEROS_TAGvar expr_in_var zeros
9ACZEROS_TAGvar expr_in_var cZeros
9BFMIN_TAGvar expr_in_var fMin
9CFMAX_TAGvar expr_in_var fMax
9DCOMPLEX_TAGcomplex number
9EPOLYEVAL_TAGexpr list polyEval
9FRANDPOLY_TAGorder var randPoly
A0CROSSP_TAGvec2 vec1 crossP
A1DOTP_TAGvec2 vec1 dotP
A2GCD_TAGexpr2 expr1 gcd
A3LCM_TAGexpr2 expr1 lcm
A4MOD_TAGexpr2 expr1 mod
A5INTDIV_TAGexpr2 expr1 intDiv
A6REMAIN_TAGexpr2 expr1 remain
A7NCR_TAGexpr2 expr1 nCr
A8NPR_TAGexpr2 expr1 nPr
A9P2RX_TAGq_expr r_expr P>Rx
AAP2RY_TAGq_expr r_expr P>Ry
ABP2PTHETA_TAGy_expr x_expr R>Pq
ACP2PR_TAGy_expr x_expr R>Pr
ADAUGMENT_TAGmat2 mat1 augment
AENEWMAT_TAGnum_columns num_rows newMat
AFRANDMAT_TAGnum_columns num_rows randMat
B0SIMULT_TAGvec mat simult
B1PART_TAG[#] expr part
B2EXP2LIST_TAGvar list exp>list
B3RANDNORM_TAGsd mean randNorm
B4MROW_TAG[] index mat expr mRow
B5ROWADD_TAG[] index2 index1 mat rowAdd
B6ROWSWAP_TAG[] index2 index1 mat rowSwap
B7ARCLEN_TAG[] end start var expr arcLen
B8NINT_TAG[] up low var expr nInt
B9PI_PRODUCT_TAG[] high low var expr Õ
BASIGMA_SUM_TAG[] high low var expr å
BBMROWADD_TAG[] index2 index1 mat expr mRowAdd
BCANS_TAG[int] ans
BDENTRY_TAG[int] entry
BEEXACT_TAG[tol] expr exact
BFLOGB_TAGexpr2 expr1 logb (where logb(expr1,expr2)=ln(expr1)/ln(expr2))
C0COMDENOM_TAG[var] expr comDenom
C1EXPAND_TAG[var] expr expand
C2FACTOR_TAG[var] expr factor
C3CFACTOR_TAG[var] expr cFactor
C4INTEGRATE_TAG[up low] var expr ò
C5DIFFERENTIATE_TAG   [order] var expr
C6AVGRC_TAG[h] var expr avgRC
C7NDERIV_TAG[h] var expr nDeriv
C8TAYLOR_TAG[point] order var expr taylor
C9LIMIT_TAG[direction] point var expr limit
CAPROPFRAC_TAG[var] expr propFrac
CBWHEN_TAG[[undef_val] false_val] true_val condition when
CCROUND_TAG[digits] expr round
CDDMS_TAG[[ss] mm] dd _DMSNUMBER_
CELEFT_TAG[num] string left
CFRIGHT_TAG[num] string right
D0MID_TAG[count] start string mid
D1SHIFT_TAG[int] list shift
D2SEQ_TAG[step] high low var expr seq
D3LIST2MAT_TAG[elements_per_row] list list->mat
D4SUBMAT_TAG[[[[col2] row2] col1] row1] mat subMat
D5SUBSCRIPT_TAG[col] row var _subscript_ (i.e. var[row] or var[row,col])
D6RAND_TAG[int] rand
D7MIN_TAG[expr2] list|expr1 min
D8MAX_TAG[expr2] list|expr1 max
D9LIST_TAGlist tag, or matrix represented as "list of list"
DAUSERFUNC_TAGuser defined function/program call: [[...] arg1] '\0' fnc_name '\0' USERFUNC_TAG
DBMATRIX_TAGmatrix tag (only in data editor)
DCFUNC_TAGprogram/function tag (not used in expressions)
DDDATA_TAGdata tag (not used in expressions)
DEGDB_TAGGDB tag (not used in expressions)
DFPIC_TAGpicture tag (not used in expressions)
E0TEXT_TAGtext tag (not used in expressions)
E1FIG_TAGfigure tag (not used in expressions)
E2MAC_TAGmacro tag (not used in expressions)
E3EXT_TAGextra TI-Basic function token (see ExtTags)
E4EXT_INSTR_TAGTI-Basic command token (not used in expressions, see InstructionTags)
E5END_TAGend of the expression or the list
E6COMMENT_TAGcomment (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
E7NEXTEXPR_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
E8NEWLINE_TAGmarks 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
E9ENDSTACK_TAGend of TI-Basic program (not used in expressions), or end of the expression stack
EAPN1_TAGexpr +/-
EBPN2_TAGexpr1 expr2 +/-
ECERROR_MSG_TAGname error_message
EDEIGVC_TAGmat eigVc
EEEIGVL_TAGmat eigVl
EFDASH_TAGexpr ' (prime, i.e. expr')
F0LOCALVAR_TAGvar _local_ (parameter/local variable reference)
F1DESOLVE_TAG[] depend_var indep_var equation deSolve
F2FDASH_TAGfunc_params func_name ' (prime, i.e. func_name'(func_params)
F3ASM_TAGASM program tag (not used in expressions)
F4ISPRIME_TAGint isPrime
F8OTH_TAGOther file tag, for custom file types (not used in expressions)
F9ROTATE_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.