Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

THEN

Draft MDC Standard

8.2.32 THEN

TH[EN] [ SP ]

This command creates a new CONTEXT-STRUCTURE consisting of a New NAME-TABLE and attaches it to a linked list of CONTEXT-STRUCTUREs associated with the current PROCESS-STACK frame, and modifies currently active NAME-TABLEs as per "New svn" for the svn $Test. The value of $Test is restored from this CONTEXT-STRUCTURE (and the CONTEXT-STRUCTURE is removed unless otherwise indicated) by any of the following actions (note the term "current line" refers to the line containing the THen command):

(Note: an Error Processing transfer of control (see 6.3) does not restore the value of $Test.)

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 22-Jan-2005, 14:11:10.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)