SetSubscripts Data Member Function

Sets the array subscripts to the values of the <Int32Array> submitted to this function.

Prototype

int32 SetSubscripts( Int32Array src )

Parameters

Parameter Type Parameter Name Documentation
<Int32Array>srcCopies the value of the <Int32Array> submitted to this function into the <SubscriptArrayParams> subscripts. For example, an <Int32Array> containing [2, 3, 4] might result in a declaration such as 'int my_int[2][3][4]'.

Examples

Copy Text To Clipboard

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