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


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

Re: Better way to check for wget

From Kevin Wells <kev@kevsoft.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Better way to check for wget
Date 2021-01-25 14:23 +0000
Organization Aioe.org NNTP Server
Message-ID <ac5664f458.Kevin@Kevsoft> (permalink)
References <d253f5f158.Kevin@Kevsoft> <TrydnZhlbaR8XJf9nZ2dnUU7-XvNnZ2d@giganews.com>

Show all headers | View raw


In message <TrydnZhlbaR8XJf9nZ2dnUU7-XvNnZ2d@giganews.com>
          Vince M Hudd <atdotcodotuk@dotcodotukat.co.uk> wrote:

>On 20/01/2021 20:58, Kevin Wells wrote:
>
>[...]
>
>> Is their a better way to check for wget, either in the !Run obey file or
>> in the main application file in BASIC to check for wget?
>
>[As well as the current method of checking for a system variable]
>
>Off the top of my head, something along the lines of:
>
>IfThere "<Boot$Dir>.Library.wget" then Set <MyApp$WGet>
>If "<Wget$Dir>" <> "" THEN Set <MyApp$WGet>
>If "<MyApp$Wget>" = "" THEN Error message

Thanks for this, but Ronald May sent me an idea off list, that got me an
idea which I'm implementing in the application BASIC file rather than
the !Run file, in which I use X wget and send the log into the
applications scrap file and if the scrap file exist or not do what is
required.
>
>Not sure how sensible that is, TBH, having never needed to do something
>similar. (And not having a RISC OS machine switched on to check. e.g. is
>there a specific variable used for the library directory? Any other
>locations it could potentially be squirrelled away in? etc.)
>


-- 
Kev Wells
http://kevsoft.co.uk/  https://ko-fi.com/kevsoft
carpe cervisium
Useless Fact 03 You burn 3.5 calories each time you laugh.

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


Thread

Better way to check for wget Kevin Wells <kev@kevsoft.co.uk> - 2021-01-20 20:58 +0000
  Re: Better way to check for wget Vince M Hudd <atdotcodotuk@dotcodotukat.co.uk> - 2021-01-22 12:15 +0000
    Re: Better way to check for wget Kevin Wells <kev@kevsoft.co.uk> - 2021-01-25 14:23 +0000
    Re: Better way to check for wget Jonathan Harston <jgh@mdfs.net> - 2021-01-31 04:23 -0800
  Re: Better way to check for wget Theo <theom+news@chiark.greenend.org.uk> - 2021-01-22 13:49 +0000
    Re: Better way to check for wget Sprow <news@sprow.co.uk> - 2021-01-22 10:20 -0800
    Re: Better way to check for wget Kevin Wells <kev@kevsoft.co.uk> - 2021-01-25 14:24 +0000
      Re: Better way to check for wget "John Williams (News)" <UCEbin@tiscali.co.uk> - 2021-01-25 17:12 +0000
        Re: Better way to check for wget Ronald <gettingchoppy@gmail.com> - 2021-02-01 12:21 +1300

csiph-web