Hello All,
I've written some (I hope) general (ofcourse) REXX file routines, with
internal checking for file errors, these can be used as functions. Is there
interest?
untested sample code to use these functions:
if OpenReadFile( file1 ) & OpenAppendFile( file2 ) then do
do while Lines( file1 ) = 1 /* while not end of file1 */
Line = LineIn( file1 ) /* read new line */
say Line
written = LineOut( file2, Line ) /* append to file2 */
end /* while not end of file1 */
call CloseFile( file1 )
call CloseFile( file2 )
end /* if files are open */
I've these routines (slightly modified) also incorporated into wgetmir.cmd, is
there interest for this?
I have moved the inputfiles for wget into a separate subdirectory.
Greetings -=Eddy=- email: eddy.thilleman@net.hcc.nl
... ABANDON all hope, ye who press here!
--- GoldED/2 3.0.1
3615/7
* Origin: Windows95 is a graphic DOS extender (2:500/143.7)
|