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

IF

1984 Version of ANSI Standard

IF command

See If for formal definition.

  1. If Result = 0 then False Right Arrow Ifswitch;
    otherwise True Right Arrow Ifswitch ($TEST).
  2. Set semantic action flag Linact False.

Note: If Ifswitch ($TEST) is False (0), then Linact will be set False; which will inhibit execution of all semantic actions for all commands until a new line is encountered. However, all syntactic paths for all commands are traversed (that is, 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, 10:05:47.

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