Groups | Search | Server Info | Login | Register
Groups > comp.sys.acorn.programmer > #6593
| From | Jean-Michel <jmc.bruck@orange.fr> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: OS_Find &4F |
| Date | 2026-02-22 10:17 +0100 |
| Organization | Jean-Michel |
| Message-ID | <2b3b10af5c.jmb@jmc.bruck.orange.fr> (permalink) |
| References | <b171d8ae5c.Paul@phorefaux> |
In message <b171d8ae5c.Paul@phorefaux>
Paul Stewart <phorefaux@gmail.com> wrote:
> Hi there,
> Trying to read a log file when the file is already open by the the utility
> that is create it.(downloading a file using WGet and reading the log file
> to display percentage downloaded)
> Using SYS "XOS_Find",&4F,file$ TO handle%
> Now the above works fine on my RO4.42 and RO5 devices.
> When I test with VRPC with RO4 and RO6, Error is generated: Handle is
> either illegal or has been closed and errors with the line number the
> above SYS command is on.
> I'm doing
> OS_Find command to open the file
> getting the size
> OS_GBPB to read into buffer
> OS_Find to then close the file.
> Above all works fine on 4.42 and 5, but generates the Handle is either
> illegal or has been closed error on RO4 and RO6.
> Any ideas as to why the RO4 and RO6 do not like SYS "XOS_Find",&4F,file$
> TO handle% with a file that is already open and being updated, where as
> other OS's are fine with it?
Not sure, but osfind must have evolved
According to OSLib's SHelp manual, there are 32bit handles, the old ones
were 8bit. from version 6.3 the handles are 32 bits. I don't know how to
distinguish with Sys "OSfind" on Ro4 ?
You can display handle% for comparison. (Reporter is fine!)
--
Jean-Michel
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
OS_Find &4F Paul Stewart <phorefaux@gmail.com> - 2026-02-21 23:08 +0000
Re: OS_Find &4F Jean-Michel <jmc.bruck@orange.fr> - 2026-02-22 10:17 +0100
Re: OS_Find &4F Martin <News04@avisoft.f9.co.uk> - 2026-02-22 10:14 +0000
Re: OS_Find &4F Steve Fryatt <news@stevefryatt.org.uk> - 2026-02-22 16:33 +0000
Re: OS_Find &4F Paul Stewart <phorefaux@gmail.com> - 2026-02-22 17:17 +0000
Re: OS_Find &4F Harriet Bazley <harriet@bazleyfamily.co.uk> - 2026-02-22 21:17 +0000
Re: OS_Find &4F Paul Stewart <phorefaux@gmail.com> - 2026-02-23 21:02 +0000
Re: OS_Find &4F Steve Fryatt <news@stevefryatt.org.uk> - 2026-02-23 21:43 +0000
Re: OS_Find &4F Paul Stewart <phorefaux@gmail.com> - 2026-03-11 10:26 +0000
Re: OS_Find &4F Steve Fryatt <news@stevefryatt.org.uk> - 2026-02-22 22:54 +0000
Re: OS_Find &4F Paul Stewart <phorefaux@gmail.com> - 2026-03-11 10:25 +0000
csiph-web