![]() |
<< Index >> |
FutureBasic 5 |
swap | statement | |
|
swap variable1, variable2
swap
exchanges the contents of the two indicated variables. Both variables must be of the same type.varOne% = 1200
varTwo% = 999
print varOne%, varTwo%
swap varOne%, varTwo%
print varOne%, varTwo%
1200 999
999 1200