Harbour Reference Guide

 

INDEXKEY()

Yields the key expression of a specified index file.

Syntax

INDEXKEY(<nOrder>) --> <cIndexKey>

Arguments

<nOrder> Index order number

Returns

<cIndexKey> The index key

Description

This function returns a character string stored in the header of the index file

The index key is displayed for an index file that is designated by <nOrder>,its position in the USE...INDEX or SET INDEX TO command in the currently selected or designated work area.If there is no corresnponding index key at the specified order position,a NULL byte will be returned.
Examples
      USE TESTS NEW INDEX TEST1
      ? INDEXKEY(1)
Status

Ready

Compliance

This function is Ca-Clipper compliant

Platforms

All

Files

Library is rdd

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30