Setarray: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
setarray <array>[<index>] <gamevar>
setarray <[[gamearray]]>[<index>] <[[gamevar]]>


Sets <gamevar> to the value of <index> in <array>. This is the only way to modify an array.
Sets <[[gamevar]]> to the value of <index> in <[[gamearray]]>. This is the only way to modify a [[gamearray]].

Revision as of 15:16, 11 May 2008

setarray <gamearray>[<index>] <gamevar>

Sets <gamevar> to the value of <index> in <gamearray>. This is the only way to modify a gamearray.