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

$ORDER

1984 Version of ANSI Standard

SORDER function

See $Order for formal definition.

  1. Result Right Arrow A.
    Check to see that A is at least a 2-tuple (that is, that the variable is subscripted).
    If not, generate an execution trap.
  2. Find the next higher subscript of the variable named in A and place into Result.
    If no higher subscript exists, place the null string ("") into Result.

Note: The details of action 2 are discussed in Section 3.2.8 of Part I.

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.

This page most recently updated on 16-Nov-2023, 11:42:02.

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