delete_expression Function (ROM Call 0x2C5)

AMS 1.01 or higher estack.h

void delete_expression (ESI ptr);

Deletes an expression from the expression stack.

delete_expression deletes an entry on the expression stack pointed to by ptr (it needs to point to the entry tag) from the stack. The entry need not be a simple entity; it may be a complex symbolic expression too. This is achieved by calling next_expression_index and delete_between.


Uses: delete_between, next_expression_index
Used by: push_parse_text, cmd_sinreg, cmd_sorta, cmd_sortd, did_push_anti_deriv, did_push_series, push_1st_derivative, push_atan, push_atanh, push_coldim, push_comdenom, push_conj, push_cross_product, push_csolve, push_czeros, push_def_int, push_denominator, push_desolve, push_determinant, push_dimension, push_expand, push_extended_prod, push_factor, push_floor, push_im, push_lim, push_ln, push_max, push_min, push_nsolve, push_numerator, push_phase, push_randmat, push_randpoly, push_re, push_red_row_ech, push_round, push_row_echelon, push_rowdim, push_sequence, push_simult, push_sin2, push_solve, push_stddev, push_summation, push_unitv, push_variance, push_zeros, did_push_to_polar, push_equals, push_exponentiate, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_negate, push_not_equals, push_product, push_radians, push_sum, push_to_cylin, push_to_sphere, add_to_top, and_onto_top, are_units_consistent, divide_top, EQU_getNameInfo, get_ub, index_if_pushed_qquad_info, or_onto_top, push_auto_units_conversion, push_but_factor, push_but_term, push_constant_factors, push_constant_terms, push_dependent_factors, push_dependent_terms, push_gcd_then_cofactors, push_independent_factors, push_independent_terms, push_lu_fact, push_make_proper, push_nonconstant_factors, push_nonconstant_terms, push_nonnumeric_factors, push_parse_prgm_or_func_text, push_poly_qr, push_reciprocal, push_sq_matrix_to_whole_number, push_standardize, raise_to_top, replace_top_with_post_simplified, replace_top_with_reciprocal, replace_top2_with_pow, replace_top2_with_prod, replace_top2_with_sum, times_top, ROM Call 0x468, ROM Call 0x4C7