Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

DBF_NAME( cFilename )

Purpose

Append ".DBF" to a filename if it's not already there.

Arguments

     cFilename -- filename to which ".DBF"
will be appended   ,

Setup

None.

Example

     LOCAL _dbf1 := "FILE1", ;
           _dbf2 := "FILE2.DBF"

     ? DBF_NAME( _dbf1 )  && Returns "FILE1.DBF"
     ? DBF_NAME( _dbf2 )  && Returns "FILE2.DBF"

Returns

cFilename with ".DBF" appended to it if it's not already
there.

Side Effects

None.

Artful Calls

None.

Source File

ARTFUL.CH

Notes

This is implemented as a pseudo-function via #define.

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