| Prev | Next | Previous Chapter | End of Chapter | Contents | Glossary | Index | Comments | (1 out of 8)

Chapter 9

Values and Types


Describes the role of values and types in a knowledge base.

Overview
Using Values Stored in Items
Using Attribute Values
Using Text Attribute Values of Items
Using Values Given by Variables and Parameters
Checking for the Existence of an Attribute Value
Using Local Names for Values
Expiration of Variable Values
Distinguishing Value Types
Complex Types
Declaring Types
Working With General Types
Using the Item-or-Value Type
Using the Value Type
Using the Quantity Type
Working With Specific Types
Using the Integer Type
Using the Float Type
Working With Exceptional Float Values
Coercing Numeric Values
Using Units of Measure for Numeric Values
Using the Symbol Type
Working With Characters in a Symbol Value
Using the Text Type
Working With Characters in a Text Value
Formatting Text Values
Using the Truth-Value Type
Working With Composite Types
Using the Structure Type
Structure Functions
Structure Expressions
Using the Sequence Type
Sequence Functions
Sequence Expressions
Using Structures and Sequences in User-Defined Classes
Comparing Structures and Items
Comparing Sequences and Lists
| Prev | Next | Previous Chapter | End of Chapter | Contents | Glossary | Index | Comments | (1 out of 8)

Copyright © 1997 Gensym Corporation, Inc.