| index_of_lead_base_of_lead_term | Function (ROM Call 0x2CE)

AMS 1.01 or higher | estack.h

ESI index_of_lead_base_of_lead_term (CESI ptr);

Gets the index of the base of the lead term of an expression.

index_of_lead_base_of_lead_term first calls lead_term_index, then apply lead_base_index on the result. So, it returns the pointer to the base of the lead factor of the first term of the expression pointed to by ptr.

Uses: lead_base_index, lead_term_index
Used by: push_sum