☜ | Embedded Programs1995 Version of ANSI (Equivalent to Current ISO Version) of Standard | ☞ |
An embedded xxx M program is a program which consists of M text and text written to the specifications of the xxx programming language or standard. Although it is not a routine, an embedded M program conforms to the syntax of a M routinebody.
extsyntax | ::= | & | extid | ( exttext ) |
exttext | ::= | [ graphic ] ... [ eol & ls [ graphic ] ... ] ... |
extid | ::= | │ | SQL | │ |
In exttext each eol & ls sequence is either ignored or, if required by the other programming language or standard, replaced by one or more graphic characters. Exttext is then treated as if the graphic characters following the ls were part of the previous line (a continuation line).
The exact syntax of the remainder of exttext is defined by the external programming language or standard. In the case of extid being SQL this standard is X3.135 (see also Annex D).
Note: An embedded program implies that one or more M routines may be created by some compilation process, replacing any external syntax with appropriate M command lines, function calls etc. An embedded program or embedded program pre-processor does not, therefore, need to adhere to the portability requirements of Section 2 although the equivalent M routines and M implementation should.
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.
This page most recently updated on 13-Sep-2014, 17:32:47.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)