home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
scrmod.zip
/
SETEOF.SCR
< prev
next >
Wrap
Text File
|
1992-02-06
|
413b
|
20 lines
> windowshow()
> watch(off)
> openold('\config.sys',handle)
> text1 = readline(handle)
> result = seteof(handle)
> text2 = readline(handle)
> close(handle)
> message('seteof result = ' + valtostr(result))
> message('Read before seteof = ' + text1)
> message('Read after seteof = ' + text2)
> message('Press any key to terminate script')
> watch(on)
> timeout = 0
> watch(on)
> wait()
> end