Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>sx_indextype():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Sx_IndexType():

  Syntax:   Sx_IndexType( [nOrder | cIndexName] )

            nOrder     = The index order
            cIndexName = The index name

  Returns:  Numeric value as follows:

               1 = Non-Compact IDX
               2 = Compact IDX or a single-tag NSX
               3 = Compound (CDX or NSX)

  Description:  This function returns a numeric value signifying the type
                of the current or specified index.

    NOTE:  This function is NOT supported under SIXNTX.

  Example:

    #include "SIXCDX.CH"

    USE test VIA "SIXCDX"

    INDEX ON test->LAST TO LAST NONCOMPACT    // Creates LAST.IDX
    ? Sx_IndexType()                          // 1

    INDEX ON test->AGE TO AGE                 // Creates AGE.IDX
    ? Sx_IndexType()                          // 2

    INDEX ON test->STATE TAG STATE            // Creates TEST.CDX
    ? Sx_IndexType()                          // 3


See Also: Sx_IndexName() Sx_TagInfo()

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