RosettaCodeData/Task/Generic-swap/Tcl/generic-swap-4.tcl
2023-07-01 13:44:08 -04:00

5 lines
76 B
Tcl

set a 1
set b 2
puts "before\ta=$a\tb=$b"
swap a b
puts "after\ta=$a\tb=$b"