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>ordbagname()</b> get the index file name of an index http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ordBagName()          Get the index file name of an index           
------------------------------------------------------------------------------

Synopsis

    ordBagName( [nOrder] | [cTag] ) -> cOrderBagName

Arguments

    nOrder and cTag 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.

Returns

    ordBagName() returns the name of the index file which contains the
    specified index.

Description

    ordBagName() is used to get the actual DOS file name in which the
    specified order is stored.  Note that in the case of a .CDX, all tags in
    the given .CDX will return the same file name (since they are all stored
    in the same DOS file).
    
Example

    use demo
    index on last tag last
    index on first tag first
    index on salary tag salary to tmp
    index on lastcall tag lastcall to tmp
    index on age to ageFile additive

    ? ordBagName()                  && Returns "TMP.CDX"

    ? ordBagName(1)                 && Returns ".\DEMO.CDX"
    ? ordBagName(2)                 && Returns ".\DEMO.CDX"

    ? ordBagName(3)                 && Returns "TMP.CDX"
    ? ordBagName(4)                 && Returns "TMP.CDX"

    ? ordBagName(5)                 && Returns "AGEFILE.CDX"

    ? ordBagName("first")           && Returns ".\DEMO.CDX"

See Also

    ordBagExt()


See Also: ordBagExt()

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