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

Error Code M38

M[UMPS] by Example

M38, Invalid ssvn subscript

Introduced in the 1995 ANSI M[UMPS] language standard.

The subscripts of local and global variables may be any string. There are some restrictions in that most implementations do not allow control characters in subscripts, and all implementations observe a maximum length for subscripts, but those are the only ‘normal’ limitations.
For structured system variables, however, the subscripts are bound by semantical constraints: the first subscript in ^$Routine must be the name of a routine, for instance. When a reference is made to s structured system variable, and one of the subscripts does not meet its semantical constraints, this error will occur.

Approved for addition in a future M[UMPS] Windowing Application Programmer’s Interface standard.

This error will occur when an attempt is made to register an event handler (Set ^$Job(process,"EVENT",eventclass,eventid)=entrypoint) and the value of either class or id is not a valid one.

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.

The information in this page is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

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 16-Nov-2023, 14:47:18.

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