☜ | $%COMPARE^CHARACTERM[UMPS] by Example | ☞ |
Approved for inclusion in a future M[UMPS] language standard as an override mechanism for collating strings.
This function returns a value that indicates the order in which two strings collate, when compared in the specified environment. The environment specified may be:
Reference | Value | |
---|---|---|
Set A="abc",B="ABC" | ||
$%COMPARE^CHARACTER(A,B) | 1 | |
$%COMPARE^CHARACTER(A,B,"^P") | 0 |
The MDC has approved code to approximate the return value of this function.
Implementors are encouraged to provide more accurate and efficient code).
Click here for $%COMPARE^CHARACTER sample code to
view or download the code for this function.
Click here for AllFunctions to view
or download the code for all M[UMPS] Library Functions.
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 13-Sep-2014, 10:15:10.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)