home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / acorn / tech / 1050 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.sys.acorn.tech
  2. Path: sparky!uunet!mcsun!dxcern!dscomsa!vxdesy.desy.de!burke
  3. From: burke@vxdesy.desy.de
  4. Subject: variables (was: Re: Finding the CSD)
  5. Message-ID: <1992Dec16.191701.1@vxdesy.desy.de>
  6. Lines: 28
  7. Sender: usenet@dscomsa.desy.de (usenet)
  8. Organization: (DESY, Hamburg, Germany)
  9. References: <1ggb8lINNkfi@swan.doc.ic.ac.uk> <4813@svin09.info.win.tue.nl> <DBH.92Dec14185801@wombat.doc.ic.ac.uk>
  10. Date: Wed, 16 Dec 1992 19:17:01 GMT
  11.  
  12. In article <DBH.92Dec14185801@wombat.doc.ic.ac.uk>, dbh@doc.ic.ac.uk (Denis Howe) writes:
  13. > Set FS <FileSwitch$CurrentFilingSystem>
  14. > SetEval CSD "<FS>:"+FileSwitch$<FS>$CSD
  15.  
  16. I have a question - is it possible to append to a macro variable? E.g.:
  17.  
  18. SetMacro foo <bar>
  19.  
  20. Now I want to append to foo, to get the effect of:
  21.  
  22. SetMacro foo <bar>,<thing>
  23.  
  24. but in a way that doesn't require me to know the current value of foo.
  25. SetMacro foo <foo>,<thing> gives you infinite recursion, while
  26. Set foo <foo>,<thing> stops it being a macro. I think it's impossible (without
  27. writing a program), but am I right?
  28.  
  29.   Another question, while I'm at it - does anyone know if the use of sprite
  30. memory by SparkFS is compatible with MemFS? Incidentally, if you do use these
  31. together note that memfs redirects <wimp$scrapdir> into itself by default, so
  32. redefine the SparkFS temporary file to avoid problems!
  33.  
  34. e----><----p | Stephen Burke           | Internet: burke@vxdesy.desy.de
  35.  H   H   1   | Gruppe FH1T (Liverpool) | DECnet:   vxdesy::burke (13313::burke)
  36.  H   H  11   | DESY, Notkestrasse 85   | BITNET:   BURKE@DESYVAX or SB2@UKACRL
  37.  HHHHH   1   | 2000 Hamburg 52         | JANET:    sb2@uk.ac.rl.ib
  38.  H   H   1   | Germany                 | Phone:    + 49 40 8998 2282
  39.  H   H 11111 | HERA, the world's largest electron microscope!
  40.