We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18c2d49 commit a21a1b5Copy full SHA for a21a1b5
Test/Expect/basexec06.txt
@@ -15,3 +15,4 @@ p=91 b$=mval90
15
100=$64
16
17
64 bits: x=1234567890 y=1234567889999
18
+S=[hello]
Test/basexec06.bas
@@ -81,6 +81,12 @@ testread
81
' some basic 64 bit stuff
82
test64bits
83
84
+' test constant strings
85
+const S1 = "hello"
86
+const S2 = S1
87
+
88
+doshow(@S2)
89
90
' and exit
91
doexit 0
92
@@ -116,3 +122,7 @@ sub test64bits()
116
122
print
117
123
print "64 bits: x="; x; " y="; y
118
124
end sub
125
126
+sub doshow(sp as const string ptr)
127
+ print "S=["; sp(0); "]"
128
+end sub
0 commit comments