| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (12 out of 14)

Using System Procedures with Lists and Arrays

The system procedures specifically for use with lists and arrays are:

To do this... Use this system procedure...
Sort a list
g2-sort-list
Sort an array.
g2-sort-array
Get the element position of an item or value in an array.
g2-get-position-of-element-in-array
Get the element position of an item or value in a list.
g2-get-position-of-element-in-list
Copy array elements to the initial-values attribute of the array
g2-array-copy-elements-to-initial-values


Note: The g2-sort system procedure has been superseded by the g2-sort-list and g2-sort-array procedures.

G2 also provides numerous system procedures for performing aggregate array, dense array, matrix array, and sparse array operations. For a complete description of these and other G2 system procedures, see the G2 System Procedures Reference Manual.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (12 out of 14)

Copyright © 1997 Gensym Corporation, Inc.