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

libraryref

Draft MDC Standard

8.1.6.4 Library reference libraryref

    libraryref::= % libraryelement [ ^ library ]
    libraryelement::= name
    library::= name

If no library is specified as part of a libraryref then the libraries specified in ^$Job( $Job , "LIBRARY" ) are used. Note: This does not imply that the libraries specified in ^$Job( $Job , "LIBRARY" ) can necessarily be dynamically changed during the lifetime of a process.

Unless explicitly specified in an individual libraryelement definition accessing a libraryref has no effect on local variables for a process, $Reference, and $Test, except for a return value and changes to variables passed by reference.

If an argument to a libraryref has an invalid value (such as a value outside the domain of the function) the behavior of the reference to the libraryref is undefined.

The restrictions specified in 8.1.7 Parameter passing also apply to the referencing of libraryrefs.

If a libraryelement or a library is not available for a library reference then an error condition occurs with ecode = "M13".

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 28-Nov-2011, 21:33:04.

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