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>set order to</b> make the specified index the master index http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SET ORDER TO         Make the specified index the master index
------------------------------------------------------------------------------

Synopsis

    SET ORDER TO
    SET ORDER TO <nOrder>
    SET ORDER TO TAG <cTag> [IN <cBag>]

Arguments

    <nOrder> is the number of the index to be made the master index.

    <cTag> is the tag to be made the master index.

    <cBag> is optional, and if specified is the index file in which to find
    <cTag>.

Description

    SET ORDER TO places the database in natural order.
    
    SET ORDER TO <nOrder> allows you to specify the master index
    numerically.  SET ORDER TO 0 places the database in natural order.

    SET ORDER TO TAG allows you to set the master index using the tag name.
    The first index in the index list with the given tag is made the master
    index.

    Since all indexes have names (tags), SET ORDER TO TAG gives a mnemonic
    way to set the master index.

Example

    use demo                    && Brings structural index into use
    index on first to first     && first is now the master index
    set order to tag last       && Make last the master index
    set order to tag first      && Make first the master index

See Also

    INDEX, ordSetFocus()


See Also: INDEX ordSetFocus()

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