Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #6138 > unrolled thread
| Started by | "Rob Hemmings (News)" <rhnews@dsl.pipex.com> |
|---|---|
| First post | 2020-06-08 15:22 +0100 |
| Last post | 2020-06-14 15:44 +0100 |
| Articles | 2 on this page of 22 — 6 participants |
Back to article view | Back to comp.sys.acorn.programmer
Calling Ghostscript from BASIC "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-08 15:22 +0100
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-08 15:39 +0100
Re: Calling Ghostscript from BASIC "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-08 15:44 +0100
Re: Calling Ghostscript from BASIC Steve Fryatt <news@stevefryatt.org.uk> - 2020-06-08 16:19 +0100
Re: Calling Ghostscript from BASIC Martin Wuerthner <spamtrap@mw-software.com> - 2020-06-08 20:22 +0200
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-08 21:15 +0100
Re: Calling Ghostscript from BASIC druck <news@druck.org.uk> - 2020-06-09 10:58 +0100
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-09 15:09 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-13 13:01 +1200
Re: Calling Ghostscript from BASIC druck <news@druck.org.uk> - 2020-06-13 12:03 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-14 01:29 +1200
Re: Calling Ghostscript from BASIC "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-08 23:37 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-14 16:38 +1200
Re: Calling Ghostscript from BASIC Steve Fryatt <news@stevefryatt.org.uk> - 2020-06-14 07:40 +0100
Re: Calling Ghostscript from BASIC "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-14 08:48 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-14 20:27 +1200
Re: Calling Ghostscript from BASIC Steve Fryatt <news@stevefryatt.org.uk> - 2020-06-14 10:01 +0100
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-14 15:41 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-15 14:51 +1200
Re: Calling Ghostscript from BASIC druck <news@druck.org.uk> - 2020-06-15 08:56 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-15 20:30 +1200
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-14 15:44 +0100
Page 2 of 2 — ← Prev page 1 [2]
| From | Ronald <gettingchoppy@gmail.com> |
|---|---|
| Date | 2020-06-15 20:30 +1200 |
| Message-ID | <6fd2e88058.beeb@-.-> |
| In reply to | #6164 |
In message <rc79ih$h23$1@dont-email.me>
druck <news@druck.org.uk> wrote:
> On 15/06/2020 03:51, Ronald wrote:
> > The FilerHRun module is not mentioned much these days but it may
> > have had this type of usage in mind.
> > It can run a binary directly from BASIC, but once again you have to
> > perform a wait. Haven't checked to see if SYS$RETURNCODE is possible.
>
> It wont be. Sys$Return code is only valid if you explicitly run a
> program via OSCLI. Any sort of FilerRun, TaskObey or other Wimp
> mechanism will usually return to you straight away, and queue the
> program to be run when they get the next Wimp Poll. Only they will be
> able to read Sys$Return code when the program exits and you can't rely
> on this variable once Wimp Poll is called, as something else may have
> exited.
>
> ---druck
OK, getting back to being better running the binary in an Obey
for that kind of simplicity then.
My Fetchmail program is in an obey file called by a Taskwindow.
It is well suited for Sys$ReturnCode it can range from O to 16 or so.
0 for mail received, 1 for no mail to retrieve, and higher numbers
reflect various authorisation or network faults.
Thanks
Ronald
[toc] | [prev] | [next] | [standalone]
| From | Harriet Bazley <harriet@bazleyfamily.co.uk> |
|---|---|
| Date | 2020-06-14 15:44 +0100 |
| Message-ID | <c039878058.harriet@bazleyfamily.co.uk> |
| In reply to | #6156 |
On 14 Jun 2020 as I do recall,
Ronald wrote:
[snip]
> The Zap complication hopefully will get fixed by Zap people.
>
I imagine that the Zap attitude is 'the task may *expect* to receive the
handle of a child taskwindow from the registered taskwindow handler, but
this is not actually specified by the relevant WIMP protocols, and provided
the taskwindow is eventually created the handler can implement the actual
creation however it likes'.
Short version: 'tasks should not rely on undocumented behaviour' :-P
--
Harriet Bazley == Loyaulte me lie ==
A man's best friend is his dogma.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.sys.acorn.programmer
csiph-web