Skip to main content
Version: Next

file

file ( path : string ) : 4D.File

ParameterTypeDescription
pathstringFile path
Result4D.FileNew file object

Description

The file command creates and returns a new object of the 4D.File type.

In the path parameter, pass a filesystem path string (e.g., "/DATA/myfile.txt").

Qodly expects a path expressed with the POSIX syntax.