Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #6165

Re: Calling Ghostscript from BASIC

From Ronald <gettingchoppy@gmail.com>
Newsgroups comp.sys.acorn.programmer
Subject Re: Calling Ghostscript from BASIC
Date 2020-06-15 20:30 +1200
Organization -
Message-ID <6fd2e88058.beeb@-.-> (permalink)
References (3 earlier) <1cb5648058.beeb@-.-> <mpro.qbwrq502ujpdr01u8.news@stevefryatt.org.uk> <ecf7868058.harriet@bazleyfamily.co.uk> <1dc8c98058.beeb@-.-> <rc79ih$h23$1@dont-email.me>

Show all headers | View raw


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

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web