[−][src]Module basic::__Chapter_2::SWAP
SWAP <variable>,<variable>
Purpose
Swaps the values of two variables.
Remarks
A ?TYPE MISMATCH
error will occur if the types aren't identical.
It's just like TEMP=A : A=B : B=TEMP
but doesn't need a temporary variable.
Example
SWAP A,B