🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #695

Re: Reading !Run vars

#695
From: Denis Howe
Date: Fri, 18 Dec 1992 22:34
19 lines
1302 bytes
In article <1992Dec16.185334.11229@westminster.ac.uk>
gpcec@westminster.ac.uk (Tom Kirby-Green) wrote:

>I'm launching the file with the usual !Run, but with the ugly line
>
>	Run <CADshell$Dir>.!RunImage "<CADshell$Dir>"

In article <BzEwAo.Cqw@dutiws.twi.tudelft.nl>
roozemaa@dutiws.twi.tudelft.nl (Peter.Roozemaal.IS-assistent) wrote:

>I would use the first part of argv[0]; that contains the full pathname
>with which the program was invoked.

What wrong with SWI OS_ReadVarVal?  In fact, you can use Obey$Dir
directly until you start multitasking so often you don't even need to
define an extra private directory variable.
--
Denis Howe <dbh@doc.ic.ac.uk>
So Biggs, you're the idiot who bought all these IBM PCs.  You're fired!
Technical Details
Message-ID: <DBH.92Dec18143453@wombat.doc.ic.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!agate!doc.ic.ac.uk!news!dbh
References: <1992Dec16.185334.11229@westminster.ac.uk> <BzEwAo.Cqw@dutiws.twi.tudelft.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!agate!doc.ic.ac.uk!news!dbh
From: dbh@doc.ic.ac.uk (Denis Howe)
Newsgroups: comp.sys.acorn.tech
Subject: Re: Reading !Run vars
Message-ID: <DBH.92Dec18143453@wombat.doc.ic.ac.uk>
Date: 18 Dec 92 22:34:53 GMT
References: <1992Dec16.185334.11229@westminster.ac.uk>
 <BzEwAo.Cqw@dutiws.twi.tudelft.nl>
Organization: Computing Department, Imperial College, London, UK
Lines: 19
NNTP-Posting-Host: wombat.doc.ic.ac.uk
In-reply-to: roozemaa@dutiws.twi.tudelft.nl's message of Thu, 17 Dec 1992 16:25:36