simlogo1

 

 

 

SimQuest 6.4 help

 

 

Indices

 

When applied to an array, Indices produces another array whose size is equal to that of the first array. The value of each element of the new array is equal to its index.
It has two variables: inArray and outArray.

 

Structure:

       inArray becomes outArray

 

Examples:

       (4, 3, 2, 1) becomes (1, 2, 3, 4)

       (-67, a) becomes (1, 2)

 

 

 

Related topics:

 

 

 

Copyright University of Twente 2011