次の方法で共有


SYS(21) - Controlling Index Number

Returns, as a character string, the index position number of the master controlling .cdx compound index tag or .idx index file for the currently selected work area.

SYS(21)

Return Value

Character

Remarks

The index position number is determined by the order in which the .idx index files and .cdx compound index tags are specified in USE and SET INDEX.

You can use SET INDEX, SET ORDER, and USE to specify which .idx index file or .cdx compound index tag is the master controlling index file or tag. For more information on specifying a master controlling index or tag, see SET INDEX, SET ORDER, and USE.

"0" is returned if there isn't a master controlling .cdx compound index tag or .idx index file (for example, SET ORDER TO is issued to display and access the table in natural record order).

See Also

Reference

CDX( ) Function

KEY( ) Function

INDEX Command

MDX( ) Function

NDX( ) Function

REINDEX Command

SYS( ) Functions Overview

SYS(22) - Controlling Tag or Index Name

TAG( ) Function

USE Command