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

  1. Path: sparky!uunet!pipex!doc.ic.ac.uk!uknet!newcastle.ac.uk!turing!n213345
  2. From: J.P.OBroin@newcastle.ac.uk (Jason O'Broin)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: Re: Finding the CSD
  5. Message-ID: <BzEztn.I2E@newcastle.ac.uk>
  6. Date: 17 Dec 92 17:41:46 GMT
  7. References: <1gke2bINN2up@swan.doc.ic.ac.uk> <1992Dec16.124633.1@kosmos.wcc.govt.nz>
  8. Organization: Computing Laboratory, U of Newcastle upon Tyne, UK NE1 7RU.
  9. Lines: 25
  10. Nntp-Posting-Host: morralee
  11.  
  12.  
  13. In article <1992Dec16.124633.1@kosmos.wcc.govt.nz>, banks_p@kosmos.wcc.govt.nz writes:
  14. >In article <1gke2bINN2up@swan.doc.ic.ac.uk>, mybg@doc.ic.ac.uk (M Y Ben Gershon) writes:
  15. >> dbh@doc.ic.ac.uk (Denis Howe) writes:
  16. >[bits deleted]
  17. >> -Set FS <FileSwitch$CurrentFilingSystem>
  18. >> -SetEval CSD "<FS>:"+FileSwitch$<FS>$CSD
  19. >> 
  20. >> I am sorry to disappoint you, but this does not work either!  It remains
  21. >> constant and is not altered when the csd is changed.
  22. >
  23. >   Of course it doesn't. It is not a code variable. To do what you want
  24. >would reqire writing some short assembler. This approach is designed to
  25. >allow you to find out the CSD at a *particular point in time*. This is
  26. >useful for Obey scripts that need to know the CSD or whatever but is by no
  27. >means intended to be a continually updating CSD variable.
  28. >
  29.  
  30. Would it not be possible to create a macro variable which did an eval as above?
  31. I don't have access to a machine at the moment, so I can't play with the idea.
  32.  
  33. Jason
  34. --
  35. ( Recommended Reading: Zen and the Art of Motorcycle Maintainance 
  36.                        Robert M. Pirsig                                       )
  37.