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

$SELECT

1977 Version of ANSI Standard

$SELECT function

See $Select for formal definition.

  1. (Privileged) Linact Right Arrow C,
    Comact Right Arrow D.
  2. Result Right Arrow A.
  3. Set Comact = False.
  4. Result Right Arrow B.
    Set Linact = False.
  5. (Privileged) Set Comact = True.
  6. (Privileged) C Right Arrow Linact,
    D Right Arrow Comact.
  7. If B is undefined, trap execution.
    Otherwise, B Right Arrow Result.

Note: Linact and Comact are used only locally here to inhibit evaluation of the second expression in a False Boolean pair. However, syntax checking is performed.

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:42.

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