NAME
Swap — Swap the values of two variables.
SYNOPSIS
Swap
VarNameA
VarNameB
DESCRIPTION
Return Value
None.
Arguments
VarNameA
First variable to swap value of.
VarNameB
Second variable to swap value of.
For information regarding exceptions / errors, see
here
.
EXAMPLES
% set X 111
111
% set Y 222
222
%
Swap X Y
% puts "X = $X, Y = $Y"
X = 222, Y = 111
SEE ALSO
KEYWORDS
modify
,
variable