☜ | OREFDraft MDC Standard | ☞ |
oref | ::= | any value with data type OREF |
Values of data type OREF are values that have no canonic representation. Instead, each oref uniquely identifies a specific object, in an implementation-specific manner.
When a value of data type OREF is assigned to an lvn, this value assignment is the only action that will result. In particular, no copy is made of the object that is identified by this oref.
All copies of a value of data type OREF are completely equivalent for accessing the object.
After an lvn has been assigned a value of data type OREF, any new value may be assigned to that lvn. Such new values may be of data type MVAL as well as OREF. Such assignments never have any impact on the object that is identified by the original oref.
Values of data type OREF have no literal representation. Except in certain special situations, values of data type OREF are coerced into values of data type MVAL according to the following rules, based on the value of the default property, if any, of the object identified by the oref:
The special situations under which values of data type OREF are not coerced into values of data type MVAL are:
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 17-Nov-2023, 10:44:23.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)