Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>ordbagname():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  OrdBagName():

  Syntax:   OrdBagName( <nOrder> | <cOrderName> )

       nOrder = A number representing the position in the Order List of the
                selected Order.

       cOrderName = A character string representing the name of the target
                    Order (or tag) whose Order Bag name is sought.

  Returns:

     The Order Bag (or index file) name of the specific Order, as a character
     string.

  Description:

     OrdBagName() is an Order management function that lets you access the
     name of the Order Bag in which <cOrderName> resides.  You may identify
     the Order as a character string or with an integer that represents its
     position in the Order List.  In case of duplicate names, OrdBagName()
     only recognizes the first matching name.

  Example:

     // Under SIXNTX, with three seperate .NTX files, using Order Numbers
     USE test1 VIA "SIXNTX"
     SET INDEX TO last, state, zip
     ? OrdBagName( 2 )               // Returns: "STATE.NTX"
     ? OrdBagName( 1 )               // Returns: "LAST.NTX"
     ? OrdBagName( 3 )               // Returns: "ZIP.NTX"

     // Under SIXNSX, with a compound .NSX file, using tag (Order) names
     USE test2 VIA "SIXNSX" NEW
     SET INDEX TO data               // Open DATA.NSX, witch has three tags
     ? OrdBagName( "STATE" )         // Returns: "DATA.NSX"
     ? OrdBagName( "LAST" )          // Returns: "DATA.NSX"
     ? OrdBagName( "ZIP" )           // Returns: "DATA.NSX"


See Also: OrdBagExt()

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