Sometime is very useful swap some variable...
Code: Select all
dim a,b as word
a=1
b=2
swap a,b
'
' now a=2, b=1
'
#1 Post by nervous » 30 Mar 2012 14:13
Code: Select all
dim a,b as word
a=1
b=2
swap a,b
'
' now a=2, b=1
'
Return to “mikroBasic PRO for dsPIC30/33 and PIC24 Wish List”