Code:
Filedialog "Pick a .txt to open.", "*.txt", file$
open file$ for input as #1
do while not eof(1)
input #1, var$
print var$
wait
loop
I would also suggest a
on the end
so all I did is add a loop that repeats the get/print a line you already had over and over until the end of file (eof)