SWAP VALUES

From Macros Wiki
Revision as of 16:45, 13 August 2010 by MikeO (talk | contribs)
Jump to: navigation, search

Up

Command

SWAP_VALUES <variable 1>, <variable 2>


Swap the values of 2 different variables.

Parameters

<variable 1>
Initial variable to swap with the second
<variable 2>
Second variable to swap with the first

Example

h4 = 3
h3 = 7
SWAP_VALUES h4, h3