Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Comix 3.0 Reference Manual - <b>cmxcount()</b> get the count of indexes in use http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
cmxCount()            Get the count of indexes in use
------------------------------------------------------------------------------

Synopsis

    cmxCount( [cBag] ) -> nOrders

Arguments

    cBag is optional, and specifies a certain index file.  If omitted, then
    cmxCount() returns the number of indexes in use in the workarea.

Returns

    cmxCount() returns the number of indexes in use in a workarea or in a
    specified order bag.

Description

    cmxCount() returns the number of indexes in use in a workarea or in a
    specific index file.
    
Example

    use demo
    index on last tag last
    index on first tag first
    index on age to ageFile additive

    ? cmxCount()                    && 3 (total # of indexes)
    ? cmxCount("demo")              && 2 (2 in structural index)
    ? cmxCount("ageFile")           && 1 (1 in AGEFILE.CDX)

See Also

    None.


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