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

  Syntax:   RDD_Name( <nRDD> )

              nRDD = Number of database driver

  Returns:      Name of the database driver corresponding to specified driver
                number.

  Description:  This function returns the name of an RDD specified by a
                number from 1 to the value returned by RDD_Count().  The
                number corresponds to the driver's position in the driver
                table.  The driver table contains the database drivers in
                the order in which they are linked.

  NOTE:  RDD_Name() can be used to determine which drivers have been
         linked into an application.


  Example:

    #include "SIXCDX.CH"        // Forces SIXCDX to be linked in

    REQUEST SIXNSX              // Forces SIXNSX to be linked in
    REQUEST SIXNTX              // Forces SIXNTX to be linked in

    LOCAL aRDDInfo, nCnt, nRDDCnt := RDD_Count()

    FOR nCnt := 1 TO nRDDCnt
      aRDDInfo := RDD_Info( RDD_Name( nCnt ))   // Fill aRDDInfo array

      ? "RDD Name.............: " + aRDDInfo[ 1 ]
      ? "Loaded?..............: " + iif( aRDDInfo[ 2 ], "Yes", "No" )
      ? "Table File Extension.: " + aRDDInfo[ 3 ]
      ? "Index File Extension.: " + aRDDInfo[ 4 ]
      ? "Secondary Index Ext..: " + aRDDInfo[ 5 ]
      ? "Memo File Extension..: " + aRDDInfo[ 6 ]
      ?
    NEXT



See Also: RDD_Count() RDD_Info()

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