This method is obsolete. See the Remarks section below. |
Description
Use the Utilities.FileCreate
method to create a new file whose name and path are specified by the FileName parameter.
Declaration
Applies To
The method is applied to the following object:
Parameters
The method has the following parameter:
FileName
Specifies the name and path of the file to be created.
Result Value
If the file has been created successfully, the function returns the file handle. Otherwise, it returns -1.
The resultant file handle can be used only by file management routines provided by the Utilities object (for example, by FileWrite or FileRead ). It cannot be used with file management routines provided by the DelphiScript engine (these functions are listed in the DelphiScript Routines topic). |
Remarks
This method is obsolete. It is supported for backward compatibility only. To create a file, use the aqFile.Create
method.
See Also
Create Method
Exists Method
Exists Method
FindFiles Method
OpenBinaryFile Method
OpenTextFile Method
Close Method
Close Method