Click or drag to resize

DefaultExt Function

X#
-- todo --
Returns a file name with a new extension if one does not already exist.

Namespace:  XSharp.VFP
Assembly:  XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax
 FUNCTION DefaultExt(
	cFileName,
	cDefault
) AS USUAL CLIPPER
Request Example View Source

Parameters

cFileName (Optional)
Type: Usual
Specifies the filename (with or without a path or extension) to be returned.
cDefault (Optional)
Type: Usual
Specifies the default extension without a period.

Return Value

Type: Usual
Character
See Also