Some senseless babbling from Eddy Thilleman to Mike Ruskai
on 10-01-99 10:08 about hstart wget?...
ET> Hello Mike,
ET> 29 Sep 99 13:08, MIKE RUSKAI wrote to EDDY THILLEMAN:
MR> It's 'READY:', not 'READY'. Though in PC-DOS 7's REXX, it is 'READY'.
MR> So, you might want to do this:
MR> if left(check,5) != 'READY' then do
ET> In my latest version, I do
ET> if pos( 'READY', check ) = 1 then /* if we opened file */
ET> the same condition with the do while
ET>> do while stream( InFile, 'state' ) = 'READY'
MR> lines() or chars() would be better here.
ET> why?
Because I don't see why a stream would fail to be ready simply because the
read/write pointer is at the end. The lines() function returns 1 if
there's at least one line-end in the file (with the lines() method of the
stream class in OREXX, it actually counts the lines in the file). The
chars() function returns the character count remaining ahead of the
read/write pointer.
Mike Ruskai
thannymeister@yahoo.com
... As I feared, you have no sense of humor.
___ Blue Wave/QWK v2.20
--- Platinum Xpress/Win/Wildcat5! v3.0pr2
45
* Origin: FIDO QWK MAIL & MORE! WWW.DOCSPLACE.ORG (1:3603/140)
|