home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / acorn / tech / 1085 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.2 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!agate!doc.ic.ac.uk!news!dbh
  2. From: dbh@doc.ic.ac.uk (Denis Howe)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Re: Reading !Run vars
  5. Message-ID: <DBH.92Dec18143453@wombat.doc.ic.ac.uk>
  6. Date: 18 Dec 92 22:34:53 GMT
  7. References: <1992Dec16.185334.11229@westminster.ac.uk>
  8.     <BzEwAo.Cqw@dutiws.twi.tudelft.nl>
  9. Organization: Computing Department, Imperial College, London, UK
  10. Lines: 19
  11. NNTP-Posting-Host: wombat.doc.ic.ac.uk
  12. In-reply-to: roozemaa@dutiws.twi.tudelft.nl's message of Thu, 17 Dec 1992 16:25:36
  13.  
  14. In article <1992Dec16.185334.11229@westminster.ac.uk>
  15. gpcec@westminster.ac.uk (Tom Kirby-Green) wrote:
  16.  
  17. >I'm launching the file with the usual !Run, but with the ugly line
  18. >
  19. >    Run <CADshell$Dir>.!RunImage "<CADshell$Dir>"
  20.  
  21. In article <BzEwAo.Cqw@dutiws.twi.tudelft.nl>
  22. roozemaa@dutiws.twi.tudelft.nl (Peter.Roozemaal.IS-assistent) wrote:
  23.  
  24. >I would use the first part of argv[0]; that contains the full pathname
  25. >with which the program was invoked.
  26.  
  27. What wrong with SWI OS_ReadVarVal?  In fact, you can use Obey$Dir
  28. directly until you start multitasking so often you don't even need to
  29. define an extra private directory variable.
  30. --
  31. Denis Howe <dbh@doc.ic.ac.uk>
  32. So Biggs, you're the idiot who bought all these IBM PCs.  You're fired!
  33.