Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

IS_UNIQUE( nIndex_num )

Purpose

Determines whether an index was made with UNIQUE set ON.

Arguments

     nIndex_num -- number of index to test.

Setup

Data file is in use and selected. Assumes .NTX files are intact, and named
such that the name of the file indexed (up to the first seven letters) is
followed by a number identifying the ordinal position of the index in the
list of indices for that file). The application dictionary is assumed, and
contains a record corresponding to the currently selected table.

Example

     CHK_DICT( "AAI_DICT" )
     ? CUSTOMER-( IS_UNIQUE( 1 ) )       && Returns .F.

Returns

.T. if the specified index is UNIQUE, else .F.

Side Effects

Crash if no file is in use.

Artful Calls

DICTFIND, STRINT, FILEOPEN

Source Files

AA_INDEX.PRG, AM_INDEX.PRG

See Also: SET_INDEX() SET_ORDER() GET_ORDER() INDEX_ON() CHK_NTX()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson