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

$MUMPS

Draft MDC Standard

7.1.5.13 $MUMPS

$M[UMPS] ( expr )

Let s be the value of expr with eol appended.

  1. If s matches the syntactic definition of a line, without any implementor ("Z") extensions, the function returns the number 0.
  2. If s matches the syntactic definition of a line only because of syntactic extensions to the language available in the current implementation, the function either returns the number 0 or provides a return value as in case c.
  3. If s does not match the syntactic definition of a line, the function returns a value of the form:

       L mumpsreturn

        mumpsreturn::= intlit ; ecode ; [ noncommasemi ... ]
        noncommasemi::= any of the characters in graphic except the comma character and the semicolon character

In each mumpsreturn, the ecode must be one that actually describes an erroneous condition in s. If no standard ecode describes an erroneous condition in s, an ecode of S0 shall be used. All non-positive values of intlit are reserved for future extensions to the standard.

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:03.

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