DBC( ) Function Example

The following example opens the testdata database and uses DBC( ) to display information about the database.

CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'data\testdata')  && Opens the DBC.

CLEAR
? DBC( )  && Displays the path and name of the database