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

OMI - Increment

Draft MDC Standard

(Operation type 14) This operation increments the value of a global variable.

The fields of the increment request and their sequence shall be:

  1. Replicate flag: <SI> indicates whether the server should replicate the operation (see 4.6). 0 means no, 1 means yes. All other values are reserved.
    NOTE – Servers are not required to support replication. Those that do support it shall honor this field.
  2. Global reference: <LS> the global reference that is to be incremented.
  3. Increment value: <SS> the numeric value by which to increment the global variable.
<SI> <LS> <SS>
Replicate <LI> Global Ref <SI> Increment Value

Figure C.1 – Increment request

The 1 field of the increment response shall be a long string <LS>, the value of the global variable after it has been incremented.

<LS>
<LI> Global Value

Figure C.2 – Increment response

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.

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, 14:31:03.

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