Home > lang > swap 
 en fr de es it nl pl pt pt_BR mk sq ca hu tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
SWAP
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 a faster equivalent of executing the following code:

DIM Temp AS Variant

Temp = ExpressionA
ExpressionA = ExpressionB
ExpressionB = Temp

See also

Přiřazení, Aritmetické operátory