| push_list_plus | Function (ROM Call 0x3BD)

AMS 1.01 or higher | basop.h

void push_list_plus (CESI ptr1, CESI ptr2);

Executes TI-Basic '.+' operator.

Assuming that ptr1 and ptr2 point to tags of two lists (or matrices, which are "lists of lists"), push_list_plus pushes the element-by-element sum of these two lists to the expression stack. If the lists are not equal in size, an error will be thrown. If ptr1 or ptr2 doesn't point to a list tag, the behavior is unpredictable.

Uses: push_sum, remaining_element_count, push_identity_mat, delete_between, is_square_matrix, push_offset_array, push_quantum, push_ulong_to_integer, top_estack, add_to_top, times_top
Used by: push_sum