Click or drag to resize

SetTextFile Function

X#
Open/Close the file to which TEXT .. ENDTEXT values are written

Namespace:  XSharp.VFP
Assembly:  XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax
 FUNCTION SetTextFile(
	cFile AS STRING
) AS LOGIC
Request Example View Source

Parameters

cFile
Type: String
Name of the file to create. When this name is NULL or Empty then the file will be closed when it is open

Return Value

Type: Logic
TRUE when the file was succesfully opened / closed.
Remarks
The file handle for the file will be stored in the _TEXT system variable.
See Also