RosettaCodeData/Task/Generic-swap/Run-BASIC/generic-swap.basic

8 lines
58 B
Plaintext

a = 1
b = 2
'----- swap ----
tmp = a
a = b
b = tmp
end