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

RSAVE

Draft MDC Standard

8.2.29 RSave

RS[AVE] postcond SP L routineargument

routinekeywords are processed in strict left-to-right order. When multiple equivalent routinekeywords are encountered, the last occurrence processed will define the action(s) to be taken.

Assume that glvn is represented as A(i1 , i2 , ... ix ) (x '< 0). Then the data values of all nodes A(i1 , i2 , ... , ix , ix+1) for which the value of $Data is either 1 or 11 are stored as lines of the routine denoted by routineref. The lines are taken in the subscript ordering for ix+1 as specified in the definition of $Order (7.1.5.11).

If glvn is undefined or if no node A(i1 , i2 , ... , ix , i x + 1 ) with a $Data value of 1 or 11 exists, the routine denoted by routineref is deleted.

If any one of the values denoted by A(i1 , i2 , ... , ix , i x + 1 ) does not conform to the definition of a line the effect of executing the RSave command is unspecified.

At no point during the execution of the RSave command will any process be able to see a partially-filed routine.

Execution of a RSave command where routineref names the currently-executing routine causes an error with ecode = "M25", and the routine is not modified.

The naked indicator is modified by the reference to glvn if it is a glvn, but not by the implicit reference to the immediate descendants of glvn.

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 15-Nov-2023, 18:55:20.

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