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

KILL

1977 Version of ANSI Standard

KILL command

See Kill for formal definition.

  1. Kill all local variables.
  2. Kill the variables whose names contain the name in Result.
  3. Check to see that Result is at most a 1-tuple (that is, that the local variable is not subscripted).
    If it is not, trap execution.
    Otherwise, mark the local variables whose names contain the name in Result.
  4. Kill all local variables except those marked by action 3.
    Remove the marks.

Note: The n-tuple name (a1, a2, ..., an) contains the m-tuple name (b 1, b2, ..., bm) if and only if m < n, and for each i where i = 1, 2 m , ai = bi.

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:06:17.

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