On 9 Apr 2022 as I do recall,
Bob Latham wrote:
[snip]
> Must admit, it surprises me that fetching a file from the net is so
> difficult to do.
>
Doesn't surprise me - fetching a file across the Internet is an order of
complexity above fetching a file from the local hard disc, and in
addition you're launching an external application in order to do it,
which is quite a lot for a small assembler routine to handle....
You originally said that you had two separate working routines but
simply couldn't seem to paste them together - would it not be possible
to have a 'parent' BASIC file that could call them both in succession?
(Registering yourself as a WIMP task is not in fact that complicated,
and I don't think your program actually needs to implement a Wimp_Poll
loop if it is single-tasking and not attempting to interact with the
desktop in any way - I seem to remember writing some pretty crude
software that just called Wimp_Initialise claiming to be a RISC OS 2
application, executed a few lines of BASIC and then quit.)
--
Harriet Bazley == Loyaulte me lie ==
We prefer to speak evil of ourselves than not speak of ourselves at all.