This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
File

File 


 

File ( path | 4Dfile {; pathType | *} ) -> Function result 
Parameter Type   Description
path | 4Dfile  Text, Longint in File path or 4D file constant
pathType | *  Longint, Operator in If path passed: fk posix path (default) or fk platform path
If 4Dfile passed: * to return file of host database
Function result  Object in New file object

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

 
PROPERTIES 

Product: 4D
Theme: File and Folder
Number: 1566

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17 R5

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)