There's now a QUOTE keyword to go along with COMMA and NEWLINE for output formatting.
I also "improved" the line number display to be more like margins. This required including a font file, increasing the size of the download, but making sure compatibility is kept with Windows 95 though 10.
A Van Eck sequence example has been added to the examples folder.
Code: Select all
'van eck sequence example
define limit = 1000
dim list[limit]
print "calculating van eck sequence..."
for n = 0 to limit - 1
for m = n - 1 to 0 step -1
if list[m] = list[n] then
let c = n + 1
let list[c] = n - m
break m
endif
wait
next m
next n
print "First 10 terms: "
for i = 0 to 9
print list[i]
next i
print "Terms 991 to 1000: "
for i = 990 to 999
print list[i]
next i
end