[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Stream Switches
- To: t-users@YALE.ARPA
- Subject: Stream Switches
- From: Scott Turner <srt@UCLA-LOCUS>
- Date: Wed ,20 Feb 85 18:14:02 EDT
Is there any way to do stream switches in T (other than the predefined ones)?
I have a package in a separate environment and I want the user to be able 
to set the value of variables in that environment.  If I have a variable 
*tlog-output* in *tlog-env*, then I want "something" in *scratch-env* so that
	(tlog-output)
returns the current value of *tlog-output* in *tlog-env*, and 
       (set (tlog-output) val)
sets *tlog-output*.  Is there any way to do this without resorting to an 
object in *scratch-env* that knows about *tlog-env*?  I.e., I know that I 
could set things up like so:
	(tlog-output *thing-that-knows-about-tlog-env*)
	(set (tlog-output *thing...*) val)
But I'd like to avoid that if possible.
						-- Scott