Compartir a través de


DEFAULTEXT( ) Function

Returns a file name with a new extension if one does not already exist.

DEFAULTEXT(cFileName, cDefault)

Return Value

Character

Parameters

  • cFileName
    Specifies the filename (with or without a path or extension) to be returned.

  • cDefault
    Specifies the default extension without a period.

See Also

Reference

ADDBS( ) Function

FILE( ) Function

FORCEEXT( ) Function

FORCEPATH( ) Function

JUSTDRIVE( ) Function

JUSTEXT( ) Function

JUSTFNAME( ) Function

JUSTPATH( ) Function

JUSTSTEM( ) Function

Other Resources

Functions

Language Reference (Visual FoxPro)