Skip to main content
Version: Next

File

File ( path | 4Dfile {; pathType | *} ) -> Function result

ParameterTypeDescription
path | 4DfileText, Longint🡒File path or 4D file constant
pathType | *Longint, Operator🡒If path passed: fk posix path (default) or fk platform path
If 4Dfile passed: * to return file of host database
Function resultObject🡐New file object

Description

Documentation moved

The documentation for this command has been moved. See File command on developer.4d.com for updated documentation.

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

See also

Folder
Get 4D file
Object to path
Path to object