SetSubscriptDimension Data Member Function

Sets the subscript dimension at the specified index. For example, int[2][3][4] has three subscripts with subscript dimension indices 0, 1, and 2. Setting subscript dimension 1 to the value 8 changes the declaration to int[2][8][4].

Prototype

int32 SetSubscriptDimension( int32 p_nIndex, int32 p_nValue )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index of the subscript dimension to set.
int32p_nValueThe value of the subscript.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.