🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

variables (was: Re: Finding the CSD)

#660
From: burke
Date: Wed, 16 Dec 1992 19:17
28 lines
1809 bytes
In article <DBH.92Dec14185801@wombat.doc.ic.ac.uk>, dbh@doc.ic.ac.uk (Denis Howe) writes:
> Set FS <FileSwitch$CurrentFilingSystem>
> SetEval CSD "<FS>:"+FileSwitch$<FS>$CSD

I have a question - is it possible to append to a macro variable? E.g.:

SetMacro foo <bar>

Now I want to append to foo, to get the effect of:

SetMacro foo <bar>,<thing>

but in a way that doesn't require me to know the current value of foo.
SetMacro foo <foo>,<thing> gives you infinite recursion, while
Set foo <foo>,<thing> stops it being a macro. I think it's impossible (without
writing a program), but am I right?

  Another question, while I'm at it - does anyone know if the use of sprite
memory by SparkFS is compatible with MemFS? Incidentally, if you do use these
together note that memfs redirects <wimp$scrapdir> into itself by default, so
redefine the SparkFS temporary file to avoid problems!

e----><----p | Stephen Burke           | Internet: burke@vxdesy.desy.de
 H   H   1   | Gruppe FH1T (Liverpool) | DECnet:   vxdesy::burke (13313::burke)
 H   H  11   | DESY, Notkestrasse 85   | BITNET:   BURKE@DESYVAX or SB2@UKACRL
 HHHHH   1   | 2000 Hamburg 52         | JANET:    sb2@uk.ac.rl.ib
 H   H   1   | Germany                 | Phone:    + 49 40 8998 2282
 H   H 11111 | HERA, the world's largest electron microscope!
Technical Details
Message-ID: <1992Dec16.191701.1@vxdesy.desy.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!dxcern!dscomsa!vxdesy.desy.de!burke
References: <1ggb8lINNkfi@swan.doc.ic.ac.uk> <4813@svin09.info.win.tue.nl> <DBH.92Dec14185801@wombat.doc.ic.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.acorn.tech
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!dxcern!dscomsa!vxdesy.desy.de!burke
From: burke@vxdesy.desy.de
Subject: variables (was: Re: Finding the CSD)
Message-ID: <1992Dec16.191701.1@vxdesy.desy.de>
Lines: 28
Sender: usenet@dscomsa.desy.de (usenet)
Organization: (DESY, Hamburg, Germany)
References: <1ggb8lINNkfi@swan.doc.ic.ac.uk> <4813@svin09.info.win.tue.nl> <DBH.92Dec14185801@wombat.doc.ic.ac.uk>
Date: Wed, 16 Dec 1992 19:17:01 GMT