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

patcode Definition

Draft MDC Standard

7.1.3.1.4 patcode definition

^$Character( charsetexpr , expr1 V "PATCODE" , expr2 V patcode ) = expr3 V algoref

This node identifies the pattern testing algorithm that determines which characters of charsetexpr match the specified patcode; if this node is not defined, or is the empty string, then no characters in the charsetexpr will match that patcode. Let pattest be the value of expr3. The patcode truth-value truth of a character char using a non-empty-string pattern testing algorithm pattest may be evaluated by executing the expression:

("S truth="_pattest_"($ASCII(char))")

When truth is “true”, char belongs to the specified patcode; when truth is “false”, char does not belong to that patcode.

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 17-Nov-2023, 13:27:17.

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