init_list_indices.hsf 985 B

12345678910111213141516171819202122232425262728
  1. [Main]
  2. Name=init_list_indices
  3. Type=Function
  4. Subtype=ROM Call
  5. Header Files=estack.h
  6. Definition=ESI *init_list_indices (ESI *indices, CESI expr);
  7. MinAMS=1.01
  8. [ROM Call]
  9. Index=$2BA
  10. [Description]
  11. Computes and stores the indices of the elements of a list.
  12. [Explanation]
  13. init_list_indices stores the index of the first element to <I>indices</I>, then it
  14. repeatedly calls <A HREF="$$LINK(estack.h/next_expression_index)">next_expression_index</A> and
  15. stores the result to <I>indices</I> until <A HREF="$$LINK(estack.h/Tags)">END_TAG</A> is reached.
  16. <BR>
  17. <I>expr</I> is assumed to point to a <A HREF="$$LINK(estack.h/Tags)">LIST_TAG</A>.
  18. init_list_indices returns <I>indices</I>.
  19. <BR><BR>
  20. Here is an example (called "List elements") which displays the list elements as returned by
  21. init_list_indices: $$EXAMPLE(List elements.c)
  22. [References]
  23. In=unknown.h/get_list_indices, unknown.h/push_symbolic_qr_fact, basfunc.h/push_median
  24. Out=estack.h/next_expression_index