Index Topic Contents | |||
Previous Topic: Scripting Reference Introduction Next Topic: DABbox2 Class |
DAArray Class
A DAArray object holds other objects that can be selected based on an index that can either vary over time or not.
This class inherits from DABehavior
DAArray Functions
DAArray Class
LengthFinds the length of a DAArray object.
arrayObj.Length( )
Return Values
Returns a DANumber object.
DAArray Class
NthAnimSelects a DABehavior object based on the value of a (a DANumber). It uses the greatest integer value less than the number's value to determine the index. An array's index begins at 0 and any attempt to index beyond its length results in a run-time error.
arrayObj.NthAnim(
a
)Parameters
- a
- The DANumber object used as a time-varying index into the array.
Return Values
Returns the DABehavior object.
Relevant Functions from DAStatics
The following functions are defined in the DAStatics class and are most relevant to objects of type DAArray:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.