🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: variables (was: Re: Finding the CSD)

#713
From: Dag H}kon Myrdal
Date: Sat, 19 Dec 1992 18:45
20 lines
1335 bytes
In article <1992Dec16.191701.1@vxdesy.desy.de> burke@vxdesy.desy.de writes:
>I have a question - is it possible to append to a macro variable? E.g.:
[various examples]
>SetMacro foo <foo>,<thing> gives you infinite recursion, while
>Set foo <foo>,<thing> stops it being a macro. I think it's impossible (without

I think that the following should work:
*set tmp <foo>
*setmacro <foo> <tmp> <thing>
*unset tmp
But I have to admit that I have not tried it... :-)


--Dag

-- 
--Dag Haakon Myrdal,       dhmyrdal@pvv.unit.no         -
-  Werchsmeister Emeritus, Omega Verksted,              -
-  Idrettsveien 29,        N-5037 BERGEN, NORWAY        -
-----------------------------------------------------------------------------
Technical Details
Message-ID: <1gvqktINNimb@flipper.pvv.unit.no>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!aun.uninett.no!ugle.unit.no!flipper.pvv.unit.no!flipper.pvv.unit.no!dhmyrdal
References: <4813@svin09.info.win.tue.nl> <DBH.92Dec14185801@wombat.doc.ic.ac.uk> <1992Dec16.191701.1@vxdesy.desy.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!aun.uninett.no!ugle.unit.no!flipper.pvv.unit.no!flipper.pvv.unit.no!dhmyrdal
From: dhmyrdal@flipper.pvv.unit.no (Dag H}kon Myrdal)
Newsgroups: comp.sys.acorn.tech
Subject: Re: variables (was: Re: Finding the CSD)
Date: 19 Dec 1992 18:45:49 GMT
Organization: ProgramVareVerkstedet - UNIT
Lines: 20
Message-ID: <1gvqktINNimb@flipper.pvv.unit.no>
References: <4813@svin09.info.win.tue.nl> <DBH.92Dec14185801@wombat.doc.ic.ac.uk> <1992Dec16.191701.1@vxdesy.desy.de>
NNTP-Posting-Host: flipper.pvv.unit.no