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

$NEXT

1977 Version of ANSI Standard

$NEXT function

See $Next 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 –1 into Result.

Note: The details of action 2 are discussed in Section 3.2.8 of MDC/28.

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:41:49.

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