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>ordnumber():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  OrdNumber():

  Syntax:  OrdNumber( [<cOrderName>] [, <cIndexFile>] )

       cOrderName = The name of the specific Order whose position in the
                    Order List is sought.

       cIndexFile = The name of the index file containing one or more Orders.
                    You may specify <cIndexFile> as the filename with or
                    without the pathname or appropriate extension.  If you do
                    not include the extension as part of <cIndexFile>, the
                    default extension of the currently active RDD is assumed.

  Returns:

     A numeric value indicating the position of the specified Order in the
     Order List.

  Description:

     OrdNumber() is an Order management function that lets you determine the
     position in the current Order List of the specified Order.  OrdNumber()
     searches the Order List in the current work area and returns the
     position of the first Order that matches <cOrderName>.

     If <cOrderName> is not found OrdNumber() raises a recoverable runtime
     error.

  Example:

     USE test VIA "SIXCDX"
     SET INDEX TO last, state, age
     ? OrdNumber( "STATE" )     // Returns: 2


See Also: OrdSetFocus() SET TAG / ORDER

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