☜ | MERGEDraft MDC Standard | ☞ |
M[ERGE] postcond SP L mergeargument
mergeargument | ::= | │ │ │ |
glvn1 = glvn2 @ expratom V L mergeargument |
│ │ │ |
Merge provides a facility to copy a glvn2 into a glvn1 and all descendants of glvn2 into descendants of glvn1 according to the scheme described below.
Merge does not Kill any nodes in glvn1, or any of its descendants.
Assume that glvn1 is represented as A(i1 , i2 , ... , ix ) (x '< 0) and that glvn2 is represented as B(j1 , j2 , ... , jy ) (y'<0). Then:
The state of the naked indicator will be modified as if $Data( glvn2 ) # 10 = 1 and the command Set glvn1 = glvn2 would have been executed.
If glvn1 is a descendant of glvn2 or if glvn2 is a descendant of glvn1 an error condition occurs with ecode = "M19".
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, 14:46:00.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)