| 
                    
 This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com  | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
                 
                
    
    
                 | 
                
					
                    
                         
    4D v20.6
 
File 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| File ( path | 4Dfile {; pathType | *} ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| path | 4Dfile | Text, 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 result | Object | 
             
         | 
        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.
	Product:  4D
	Theme:  File and Folder
	Number:  
        1566
        
        
        
	
	Created:  4D v17 R5
	
	
	
	
	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)
	
	
	
Add a comment