CMatrixRow:Init
The Init method sets the first nCount CMatrixRow members to the same value.
CMatrixRow:Init( nCount, value ) where |
nCount is the number of members to define.
value is the target value to assign and may be a number, string, or other value.
The following script initializes the first 1000 members to the value 100.54:
|
-- create a CMatrixRow |
|
-- set members 1 through 1000 |
|
-- result: R[500] = 100.54 |