[mod.std.mumps] Proposal: NEW $T

hokey@plus5.UUCP (10/07/86)

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