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


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

Re: Calling Ghostscript from BASIC

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Ronald <gettingchoppy@gmail.com>
Newsgroups comp.sys.acorn.programmer
Subject Re: Calling Ghostscript from BASIC
Date Sun, 14 Jun 2020 01:29:38 +1200
Organization -
Lines 23
Message-ID <1886fc7f58.beeb@-.-> (permalink)
References <587d6e2a47rhnews@dsl.pipex.com> <20b36f7d58.harriet@bazleyfamily.co.uk> <slrnrdslot.7k1.news@stevefryatt.org.uk> <mpro.qbmdp5006xksu081o.spamtrap@mw-software.com> <92818e7d58.harriet@bazleyfamily.co.uk> <rbnmh0$77r$1@dont-email.me> <54d9f07d58.harriet@bazleyfamily.co.uk> <1a0cb87f58.beeb@-.-> <rc2bqu$8mt$1@dont-email.me>
Injection-Info reader02.eternal-september.org; posting-host="5566abbdf432c272ab6d60f8d3d6b9dc"; logging-data="19053"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SeAY+kPU3uT/Sn9cbqKnQ"
User-Agent Messenger-Pro/1.00c (MsgServe/1.00a) (RISC-OS/5.24) NewsHound/v1.50-32
Cancel-Lock sha1:WLVO9c8+ThUnUmNZENAlQd+HqsA=
Xref csiph.com comp.sys.acorn.programmer:6152

Show key headers only | View raw


In message <rc2bqu$8mt$1@dont-email.me>
          druck <news@druck.org.uk> wrote:

> On 13/06/2020 02:01, Ronald wrote:
> > I'd like to be able to use return codes from a unixlib program
> > but when called from an Obey file.
> > It looks like the only way to do this would be to have either a BASIC
> > or C wrapper/shell to do the running.
> > The only advantage would be that it could set a system variable that
> > an Obey file could read for any programs return code, avoiding setting
> > the system variable in every individual (ported) program.
> 
> RISC OS already does this, Sys$ReturnCode should be set to the result 
> from the program, but note that not all programs return a non zero code 
> in the case of an error.
> 
> ---druck

So it does, looking forward to using it.
Important failures can be acted upon loudly now.

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