RosettaCodeData/Task/Generic-swap/VBScript/generic-swap-1.vb

7 lines
74 B
VB.net

sub swap( byref x, byref y )
dim temp
temp = x
x = y
y = temp
end sub