summaryrefslogtreecommitdiff
path: root/apps/examples/bastest/tests/test16.bas
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/bastest/tests/test16.bas')
-rw-r--r--apps/examples/bastest/tests/test16.bas10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/examples/bastest/tests/test16.bas b/apps/examples/bastest/tests/test16.bas
new file mode 100644
index 000000000..809137d75
--- /dev/null
+++ b/apps/examples/bastest/tests/test16.bas
@@ -0,0 +1,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)
+