| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (10 out of 28)

g2-array-copy

Copies one item or quantity array into a second item or quantity array. The types and dimensions of the arrays must be identical. The copy overwrites any existing values in the destination array.

Synopsis

g2-array-copy
(array-1: class {item-array | quantity-array},
array-2: class {item-array | quantity-array} )
Argument Description
array-1
An item or quantity array.
array-2
The array into which array-1 is copied.

Example

This example copies a1 into a2:

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (10 out of 28)

Copyright © 1997 Gensym Corporation, Inc.