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

KSUBSCRIPTS

M[UMPS] by Example

Approved for inclusion in a future M[UMPS] language standard.

KSubscripts MYVAR
deletes any subscripts of MYVAR without affecting the value of the unsubsctipted local variable.

KSubscripts (A,B,C)
deletes all subscripted occurrences of all local variables, except for the descendants of local variables A, B and C.

Examples with naked references:

KSubscripts VARIABLE
Set ^ABC(1,2)="reset naked indicator"
; naked indicator is now ^ABC(1,
KSubscripts ^(3,4)

; naked indicator is now: ^ABC(1,3,
; Actual reference is: ^ABC(1,3,4)

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.

The information in this page is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

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 15-Nov-2023, 14:44:22.

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