Thread View: comp.sys.acorn.tech
4 messages
4 total messages
Started by M Y Ben Gershon
Sun, 13 Dec 1992 21:51
Re: Finding the CSD
Author: M Y Ben Gershon
Date: Sun, 13 Dec 1992 21:51
Date: Sun, 13 Dec 1992 21:51
22 lines
1200 bytes
1200 bytes
banks_p@kosmos.wcc.govt.nz writes: -gilbertd@p4.cs.man.ac.uk (David Alan Gilbert) writes: - -- There are some environment variables under RO3.1 which seem to have most -- of what is needed. One holds the current filing system name, and there -- is one per file system holding its present directory. -- What is needed is for someone to work out how to expand one variable -- and use it as part of the name for the second one. - - Easy. Try this :- - -Set My$CSD <FileSwitch$<FileSwitch$CurrentFilingSystem>$CSD> - - I am fairly sure this works. (Assuming I have the variable names right of -course.) - - Philip I couldn't get this to work. Has anyone else had any luck with it? Michael
Re: Finding the CSD
Author: Dick Alstein
Date: Mon, 14 Dec 1992 13:03
Date: Mon, 14 Dec 1992 13:03
11 lines
682 bytes
682 bytes
mybg@doc.ic.ac.uk (M Y Ben Gershon) writes: >banks_p@kosmos.wcc.govt.nz writes: >- Try this :- >-Set My$CSD <FileSwitch$<FileSwitch$CurrentFilingSystem>$CSD> >I couldn't get this to work. Has anyone else had any luck with it? Nope. Nesting the variables doesn't work. Dick
Re: Finding the CSD
Author: Denis Howe
Date: Mon, 14 Dec 1992 18:58
Date: Mon, 14 Dec 1992 18:58
28 lines
1493 bytes
1493 bytes
banks_p@kosmos.wcc.govt.nz wrote: >Set My$CSD <FileSwitch$<FileSwitch$CurrentFilingSystem>$CSD> mybg@doc.ic.ac.uk (M Y Ben Gershon) replied: >I couldn't get this to work. Has anyone else had any luck with it? In article <4813@svin09.info.win.tue.nl> wsinda@wsintt02.info.win.tue.nl (Dick Alstein) concurred: >Nope. Nesting the variables doesn't work. Funnily enough, I've just done this. After my success doing it under RISC OS 2, doing it under RO3 was just too easy (though still not as easy as you would expect). From memory: Set FS <FileSwitch$CurrentFilingSystem> SetEval CSD "<FS>:"+FileSwitch$<FS>$CSD The first command is only necessary to make the second one fit on one line! Who knows, maybe by RISC OS 4 they'll have got it down to one, easy to swallow, variable. :-) Anyone know a simpler way? -- Denis Howe <dbh@doc.ic.ac.uk> So Biggs, you're the idiot who bought all these IBM PCs. You're fired!
variables (was: Re: Finding the CSD)
Author: burke
Date: Wed, 16 Dec 1992 19:17
Date: Wed, 16 Dec 1992 19:17
28 lines
1809 bytes
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!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads