' Mike's SWAP array test
a[0]=0
a[1]=1
a[2]=2
b[0]=2
b[1]=1
b[2]=0
SWAP a, b
PRINT a[0],"\n"
PRINT a[1],"\n"
PRINT a[2],"\n"
jrs@laptop:~/sb/sb22/sblisp$ scriba swaparray.sb
2
1
2
jrs@laptop:~/sb/sb22/sblisp$
a = 1
b = 2
SWAP a, b
PRINT "A: ",a,"\n"
PRINT "B: ",b,"\n"
jrs@laptop:~/sb/sb22/sblisp$ scriba testswap.sb
A: 2
B: 1
jrs@laptop:~/sb/sb22/sblisp$