Home / lang / swap 
SWAP
Syntax
SWAP Expression A , Expression B

Swap the contents of the two expressions.

The two expressions must be able to act as the left part of an assignment.

This is equivalent to execute the following code:

DIM Temp AS Variant

Temp = Expression A Expression A = Expression B Expression B = Temp