summaryrefslogtreecommitdiff
path: root/apps/examples/bas/tests/test16.bas
blob: 809137d75983058f7ae49422a083fe9fe151e565 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
a=1 : b=2
print "a=";a;"b=";b
swap a,b
print "a=";a;"b=";b
dim a$(1,1),b$(1,1)
a$(1,0)="a" : b$(0,1)="b"
print "a$(1,0)=";a$(1,0);"b$(0,1)=";b$(0,1)
swap a$(1,0),b$(0,1)
print "a$(1,0)=";a$(1,0);"b$(0,1)=";b$(0,1)