Creates and opens an ASCII or binary file. If the file exists, it will be truncated and then opened.

[Ok := ] File.CREATE(Name)



Type: file

Specifies the file.


Type: text or code

The name of the file, including the path. The following rules apply:

  • You can omit the drive designation if the file is located on the current drive.

  • You can omit the full path if the file is located in the current directory.

  • You can enter only the subdirectory name if the file is located in a subdirectory of the current directory.

Expand imageProperty Value/Return Value

Expand imageRemarks

Expand imageSee Also