SWAP

SmallBASIC syntax groups: 


Data command SWAP


10
20  SWAP a, b
30
Exchanges the values of two variables. The parameters may be variables of any type.


See examples


If there is insufficient information on this page and you wish learn more about SWAP, please send an email to smallbasic@gmail.com. You can help to improve information about SWAP by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.