Given this code, the ONLY thing I should see on the screen is the value of count, a single number. However, look at the image of my output, it makes no sense!
+ Code Snippet s$ = "test"
openToRead(1, "dict7.txt")
if fileIsOpen(1) = 0
`if getErrorOccurred() then s$ = getLastError()
else
s$ = readString(1)
count = val(s$)
r = random(1, count)
for i = 1 to r
`s$ = readString(1)
next i
closeFile(1)
endif
print("1. "+s$)
sync()
do:loop