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

  Syntax:   Sx_TagCount([cIndexFileName | nIndexFileOrder])

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

  Returns:  <numeric> Number of tags in the current or specified
            index (order bag). 0 if the order is invalid, no index is open,
            or if the current order is 0 and no parameters were passed.

  Description:   This function returns the number of tags within the
                 current or specified index.  If the current or specified
                 index is an .IDX then Sx_TagCount() will return 1.

    NOTE:  This function is NOT supported under SIXNTX.

  Example:

    #include "SIXCDX.CH"

    USE test VIA "SIXCDX"             // Open database
    INDEX ON last TAG last            // Create one tag
    ? Sx_TagCount()                   // Returns: 1
    INDEX ON state TAG state          // Create a second tag
    ? Sx_TagCount()                   // Returns: 2
    Sx_KillTag( "LAST" )              // Delete tag number 1 (LAST)
    ? Sx_TagCount()                   // Returns: 1


See Also: Sx_TagInfo() OrdName() Sx_TagNo() OrdNumber() Sx_Tags()

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