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

Spaces in Commands

1990 Version of ANSI Standard

2.5.2 Spaces in Commands

Spaces are significant characters. The following rules apply to their use in lines.

  1. There may be a space immediately preceding eol only if the line ends with a comment. (Since ls may immediately precede eol, this rule does not apply to the space which may stand for ls.)
  2. If a command instance contains at least one argument, the command word or postcond is followed by exactly one space; if the command is not the last of the line, or if a comment follows, the command is followed by one or more spaces.
  3. If a command instance contains no argument and it is not the last command of the line, or if a comment follows, the command word or postcond is followed by at least two spaces; if it is the last command of the line and no comment follows, the command word or postcond is immediately followed by eol.
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 13-Sep-2014, 08:35:24.

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