Prepare an inputfile, say "vars.txt"
11
27
31
0
11,27,31
0
Compile the following snippet
and pipe in this < vars.txt
dim a as integer, s as string
do
input "var"; a
print a
loop while a
do
line input "varstr"; s
print s
loop until s = "0"
end
First loop executes o.k., then the program halts while it shouldn't.
QB did alright with this,
having line input redirection in FB also
would make testing & debugging much nicer.
Greetings,
Sjoerd.J.Schaper