Setarray: Difference between revisions

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


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

Revision as of 14:37, 14 May 2008

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

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