[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.17 $QUERY

Returns the next subscripted reference in a global.

Syntax

$QUERY(glvn)

Example

We will assume the following data structure exists:

^snw(1)=1
^snw(1,2)="foo"
^snw(2)=3
^snw(3)=""

The following code will retrieve the next subscripted name after ^snw(1):

SET NEXTNAM=$QUERY(^snw(1)) ; => ^snw(1,2)

This document was generated on May 5, 2025 using texi2html 5.0.