Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!ucbvax!ucbcad!nike!sri-spam!mordor!lll-crg!seismo!plus5!hokey From: hokey@plus5.UUCP Newsgroups: mod.std.mumps Subject: Proposal: NEW $T Message-ID: <1104@plus5.UUCP> Date: Tue, 7-Oct-86 03:20:38 EDT Article-I.D.: plus5.1104 Posted: Tue Oct 7 03:20:38 1986 Date-Received: Wed, 8-Oct-86 04:21:52 EDT Sender: hokey@plus5.UUCP Lines: 40 Approved: hokey@plus5.uucp Volume-Issue: X11.1/1986.10/mod.std.mumps/3 Several task groups and individuals have, on occasion, observed the need to save certain special variables as part of a NEW context. In an attempt to get the ball rolling, I propose we start with $TEST. In the Scoping Proposal of MDC #25, attachment 7 (I couldn't find a more recent reference), the following changes must be made. 1) The definition of *newat*, from: *newat* ::= | *lname* | | ( *L* *name* ) | to: | *newsvn* | *newat* ::= | *lname* | | ( *L* *name* ) | *newsvn* ::= $T[EST] 2) Change Three cases are defined. to: Four cases are defined. and add a new subpart: Q) If *newat* is of the form *newsvn*, assume X is the *newsvn*. Then execution of the *newat* stacks a frame containing the value V(X). 3) Add a new subpart to the final section: R) If the frame was stacked as a result of a *newat* of the form *newsvn*, then the current value of the *svn* named by *newsvn* is deleted and replaced with the stacked value. Hokey