Volkmaniac
Technical User
Is there anyway I can specify where termputs places information on the terminal screen? I'm using ProComm and I want to place the read line directly after the >>. In other words, I want it to put the data exactly where the cursor is located. I tried using locate for the cursor and it didn't work.
proc main
string Line ; Line to write to screen.
integer therat = 1
if fopen 0 "S:\xxxxxxxxx\xxxxxx\test.txt" READ
while not feof 0 ; Loop while not end of f
fgets 0 Line ; Get line from file.
termputs therow 1 Line ; Put line from file onto
therow++ ; Increment row counter
endwhile
fclose 0 ; Close file opened for
else
errormsg "Couldn't open file!"
endif
endproc
proc main
string Line ; Line to write to screen.
integer therat = 1
if fopen 0 "S:\xxxxxxxxx\xxxxxx\test.txt" READ
while not feof 0 ; Loop while not end of f
fgets 0 Line ; Get line from file.
termputs therow 1 Line ; Put line from file onto
therow++ ; Increment row counter
endwhile
fclose 0 ; Close file opened for
else
errormsg "Couldn't open file!"
endif
endproc