Chapter 16
Lists and Arrays
Describes how to use lists and arrays.
- Introduction to Lists and Arrays
- Lists and Sequences
- Comparing Lists and Arrays
- Choosing Lists
- Choosing Arrays
- Using Nested Arrays
- List or Array Contents
- Effect of Run States on Lists and Arrays
- Summarizing List and Array Differences
- Creating Lists and Arrays
- Setting the Array Length
- Defining the Element Type
- Allowing Duplicate List Elements
- Providing Initial Values for Array Elements
- G2-ARRAY Initial Values Conflict
- Specifying Symbolic Initial Values in Arrays
- Using Permanent-Membership Lists and Arrays
- Levels of Permanency in Lists and Arrays
- Initial Values of Arrays
- Complying to Permanent Membership
- Maintaining Permanent-Membership Lists and Arrays
- Restoring Permanent-Membership Lists and Arrays
- Populating A List
- Inserting Based on Element Location
- Inserting at the Beginning or End of a List
- Inserting Before or After an Existing Element
- Inserting Into Lists With Duplicate Elements
- Removing List Elements
- Removing a Particular List Element
- Removing Using an Element Index
- Removing a Type of List Element
- Populating an Array
- Changing the Initial Values of an Array
- Iterating Over an Array
- Using the Change Action for Arrays
- Using an Attribute File
- Replacing List and Array Elements
- Using Change
- Using Conclude
- Altering the Length of an Array
- Changing Elements to Have No Values
- Data Seeking and Event Updating
- Iterating over Lists and Arrays
- Iterating According to Element Type
- Iterating Over Lists For a Particular Item
- Specifying a Relative List Position
- Performance Considerations During List Iteration
- Allowing Other Processing During List and Array Iteration
- Using Other List and Array Expressions
- Accessing List or Array Elements by Index
- Performing Computations Over Sets of Elements
- Sum, Product, Minimum, Maximum of
- Average of
- Count of
- Testing for List Membership
- Obtaining the Number of List Elements
- Finding the Length of an Array
- Accessing Lists or Arrays that are Object Attributes
- Changing Attribute List and Array Elements
- Concluding an Unnamed Object Attribute that is a List or an Array
- Concluding a List or Array Element that is an Object
- Using System Procedures with Lists and Arrays
- The List and Array Classes
- Creating Subclasses of Lists and Arrays
- Class-Specific Attributes
- Describing Lists and Arrays
Copyright © 1997 Gensym Corporation, Inc.