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>cmxkeysincluded()</b> get number of keys included in index so far http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
cmxKeysIncluded()     Get number of keys included in index so far
------------------------------------------------------------------------------

Synopsis

    cmxKeysIncluded() -> nKeys

Arguments

    None.

Returns

    cmxKeysIncluded() returns the number of keys which have been placed in
    the index while the index is being created.  If called when an index is
    not being created, it always returns 0.

Description

    cmxKeysIncluded() is primarily useful for conditional indexes.  It can
    be used during the status display process (with the EVAL clause of the
    INDEX statement).

Example

    use demo
    cls
    index on last to last for age = 30 eval myFun() every 100

    func myFun()
        @ 0, 0 say "Records Scanned: ", recno()
        @ 1, 0 say "  Records Found: ", cmxKeysIncluded()
    return .t.

See Also

    INDEX


See Also: INDEX

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