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

6.16 $QUERY

Returns the next subscripted reference in a global.

Syntax

$QUERY(glvn)

Example

We will assume the following data structure exists:

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

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

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

This document was generated on November 11, 2022 using texi2html 5.0.