Total players online: 20



Take the Tour | Site Map

Name

setArray — Set the values in a one dimensional array.

Synopsis

call subs.txt setArray { arrayName } { startNumber } [ valueOne ] [ valueNext ]

Author

old_asm_programmer

Parameters

Table 59. setArray parameters

NameDescription
arrayNamename of array
startNumbernumber of first element of array
valueOnefirst value to put in array
valueNextany number of values may be entered

Description

Set the values in a one dimensional array.

Returns

values are returned in the array %1 starting at index %2

Example

call subs.txt setArray arrayName startingNumber 1stValue 2ndValue ...
; get value
set %value %arrayName . %index