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>cmxunique()</b> get the unique flag for an index http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
cmxUnique()           Get the unique flag for an index
------------------------------------------------------------------------------

Synopsis

    cmxUnique( [nOrder] | [cTag [, cBag]] ) -> lUnique

Arguments

    nOrder, cTag and cBag are optional parameters which specify the index.
    If omitted, the current master index will be used.

    nOrder is the numeric order of the index.

    cTag is the tag of the index, and cBag is the specific index file in
    which to find cTag.

Returns

    cmxUnique() returns a logical which is true if the specified index is
    UNIQUE, and false otherwise.

Description

    cmxUnique() allows you to determine whether or not a given index is
    unique.

Example

    use demo

    index on last tag last1 unique
    index on first tag first1
    index on age to j:\test\tmp\age unique

    ? cmxUnique(1)              && Returns .t.
    ? cmxUnique(2)              && Returns .f.
    ? cmxUnique(3)              && Returns .t.

    ? cmxUnique("first1")       && Returns .f.

See Also

    cmxCustom(), cmxDescend(), ordFor(), ordKey()


See Also: cmxCustom() cmxDescend() ordFor() ordKey()

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