
-----------------------------------
born130
Sun Jun 15, 2003 4:09 pm

How do you display a text file?
-----------------------------------
How do you display a text file in your program?

i.e. calling it up

thanks

-----------------------------------
hskhan
Sun Jun 15, 2003 5:49 pm


-----------------------------------
var stream : int
var line : string
%filename goes in place of inst.txt
open : stream, "inst.txt", get

% Read the file and place it in the text box.
loop
    exit when eof (stream)
    get : stream, line : *

    put line

end loop


-----------------------------------
born130
Sun Jun 15, 2003 6:35 pm


-----------------------------------
Thanks
