| push_quantum | Function (ROM Call 0x2EE*)

estack.h

void push_quantum (ESQ Tag);

Pushes a byte (tag) to the expression stack.

push_quantum is the basic function for manipulating the expression stack, and many other functions are based on it. It pushes a byte Tag to the expression stack. For example, you can push a complex value to the expression stack using the following construction:

    push_Float (real_part);
    push_Float (imaginary_part);
    push_quantum (COMPLEX_TAG);

See push_Float, and info about top_estack and Tags for more info about this example.
Note: This routine (as well as all other "push_..." routines) may cause heap compression, and may throw an error if there is not enough space on the expression stack.

Uses: check_estack_size, top_estack, estack_max_index
Used by: compare_complex_magnitudes, map_tail, map_tail_Int, map_unary_over_comparison, next_expression_index, Parse2DExpr, Parse2DMultiExpr, push_END_TAG, push_Float, push_Float_to_nonneg_int, push_internal_simplify, push_LIST_TAG, push_long_to_integer, push_longint, push_longlongint, push_overflow_to_infinity, push_parse_text, push_reversed_tail, push_shortint, push_transpose_aux, push_ulong_to_integer, push_ushort_to_integer, push_zstr, cmd_blddata, cmd_circle, cmd_dialog, cmd_drawfunc, cmd_drawinv, cmd_drawparm, cmd_drawpol, cmd_fill, cmd_input, cmd_inputstr, cmd_linetan, cmd_popup, cmd_printobj, cmd_prompt, cmd_shade, cmd_sinreg, cmd_slpline, cmd_sorta, cmd_sortd, did_push_anti_deriv, did_push_series, push_1st_derivative, push_abs, push_acos, push_acosh, push_asin, push_asinh, push_atan, push_atanh, push_augment, push_char, push_comb, push_comdenom, push_conj, push_cos, push_cosh, push_cross_product, push_csolve, push_cumsum, push_czeros, push_def_int, push_denominator, push_desolve, push_diag, push_dimension, push_dotproduct, push_exp, push_expand, push_extended_prod, push_factor, push_floor, push_fractional_part, push_gcd_numbers, push_identity_mat, push_im, push_instring, push_integer_lcm, push_integer_part, push_is_prime, push_left, push_lim, push_list_to_mat, push_ln, push_log10, push_mat_to_list, push_max, push_max1, push_max2, push_median, push_mid, push_min, push_min1, push_min2, push_mod, push_mrowadd, push_newlist, push_newmat, push_nint, push_nsolve, push_nth_derivative, push_numerator, push_ord, push_phase, push_prodlist, push_pttest, push_pxltest, push_rand, push_randmat, push_randpoly, push_re, push_rec_to_angle, push_right, push_rotate, push_round, push_rowadd, push_rowdim, push_rowswap, push_sequence, push_shift, push_sign, push_sin, push_sin2, push_sinh, push_solve, push_sqrt, push_stddev, push_str_to_expr, push_string, push_submat, push_sumlist, push_summation, push_tan, push_tanh, push_variance, push_when, push_zeros, did_push_to_polar, push_and, push_dot_exponentiate, push_equals, push_exponentiate, push_factorial, push_greater_than, push_greater_than_or_equals, push_indir_name, push_less_than, push_less_than_or_equals, push_list_plus, push_list_times, push_matrix_product, push_negate, push_not, push_not_equals, push_or, push_product, push_substitute_no_simplify, push_substitute_simplify, push_sum, push_to_cylin, push_to_sphere, HomeExecute, OSLinkCmd, add_to_top, are_units_consistent, compare_numbers, did_map_aggregate_arg, did_push_approx_inflection_point, dv_create_graph_titles, EQU_getNameInfo, get_ub, GetStatValue, GM_Derivative, GM_DistArc, GM_Inflection, GM_Integrate, GM_Intersect, GM_Math1, GM_TanLine, gr_ck_solvergraph, gr_execute_de, gr_execute_seq, GraphOrTableCmd, GT_IncXY, GT_Trace, has_different_variable, index_if_pushed_qquad_info, InitTimeSeq, is_negative, is_nonnegative, is_nonpositive, is_positive, push_auto_units_conversion, push_but_factor, push_but_term, push_constant_factors, push_constant_terms, push_dependent_factors, push_dependent_terms, push_div_dif_1c, push_float_qr_fact, push_format, push_gcd_then_cofactors, push_independent_factors, push_independent_terms, push_lu_fact, push_make_proper, push_mrow_aux, push_nonconstant_factors, push_nonconstant_terms, push_nonnumeric_factors, push_parse_prgm_or_func_text, push_pi, push_poly_qr, push_quantum_as_nonnegative_int, push_reciprocal, push_simplify, push_standardize, push_symbolic_qr_fact, push_trig, push_unit_system_list, push_user_func, push_var, push_var_kern_tail, push_zero_partial_column, raise_to_top, replace_top_with_post_simplified, replace_top2_with_imre, replace_top2_with_pow, replace_top2_with_prod, replace_top2_with_sum, run_one_seq, SP_Define, spike_in_editor, spike_optionD, store_func_def, times_top, tokenize_if_TI_92_or_text, VarRecall, ROM Call 0x468, ROM Call 0x484, ROM Call 0x48D, ROM Call 0x494, ROM Call 0x495, ROM Call 0x49C, ROM Call 0x4C6, ROM Call 0x4C7, ROM Call 0x4D1, ROM Call 0x4E6

See also: push_quantum_pair, push_expression, push_expr_quantum