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_tags():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Sx_Tags():

  Syntax:         Sx_Tags( [ cIndexFileName | nFilePos] )

                  cIndexFileName  = Name of Index file (order bag)
                  nFilePos        = Position of FILE in Index FILE list.

  Returns:   <array> Array of tag names contained in the compound index file.
                  {} if the order is invalid, the current order is 0, or no
                  index is open.

  Description:    This function returns an array of tag names contained in
                  the current or specified index file. If the current or
                  specified index file is an .IDX file, a single element
                  array containing the index name is returned.

    NOTE:  This function is NOT supported under SIXNTX.

  Example:

    #include "SIXCDX.CH"

    LOCAL nCount := 0, nElem := 0, aTags := {}

    USE test VIA "SIXCDX"       // Open TEST.DBF and TEST.CDX
    aTags := Sx_Tags()      // Get array of TAG names
    nCount := Sx_TagCount()     // See how many TAGS are in the CDX file
    FOR nElem := 1 TO nCount    // Loop through tags
      ? aTags[ nElem ]          // Display each TAG name
    NEXT



See Also: Sx_TagCount() Sx_TagInfo() OrdName() Sx_TagNo()

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