| deleted_between | Function (ROM Call 0x2C4)

AMS 1.01 or higher | estack.h

unsigned short deleted_between (ESI ptr1, ESI ptr2);

Deletes a sequence of bytes from the expression stack.

deleted_between acts like delete_between, but it also returns a number of deleted bytes. Note that delete_between calls memmove for moving memory after ptr2, but deleted_between uses an embedded loop sequence for the same task. I don't know why these two routines use different methods: as I can see, the final effect is the same. Maybe I am wrong?

Uses: top_estack
Used by: deleted_expression, moved_between_to_top, did_push_anti_deriv, did_push_series, push_1st_derivative, push_acosh, push_asin, push_asinh, push_atan, push_atanh, push_comb, push_comdenom, push_cosh, push_csolve, push_czeros, push_def_int, push_denominator, push_desolve, push_exp, push_expand, push_extended_prod, push_factor, push_floor, push_im, push_is_prime, push_lim, push_ln, push_log10, push_max, push_min, push_nsolve, push_nth_derivative, push_numerator, push_perm, push_phase, push_re, push_sin2, push_sinh, push_solve, push_summation, push_tan, push_tanh, push_zeros, did_push_to_polar, push_and, push_equals, push_exponentiate, push_factorial, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_negate, push_not_equals, push_product, push_sum, push_to_cylin, push_to_sphere, add_to_top, are_units_consistent, get_ub, index_if_pushed_binomial_info, index_if_pushed_qquad_info, push_auto_units_conversion, push_but_factor, push_but_term, push_constant_factors, push_constant_terms, push_dependent_factors, push_dependent_terms, push_float_qr_fact, push_gcd_then_cofactors, push_independent_factors, push_independent_terms, push_make_proper, push_nonconstant_factors, push_nonconstant_terms, push_nonnumeric_factors, push_poly_qr, push_reciprocal, push_standardize, push_symbolic_qr_fact, raise_to_top, replace_top_with_post_simplified, replace_top2_with_imre, replace_top2_with_pow, replace_top2_with_sum