4D v12.4

DOCUMENT LIST

Home

 
4D v12.4
DOCUMENT LIST

 

DOCUMENT LIST 


 

DOCUMENT LIST ( pathname ; documents ) 
Parameter Type   Description
pathname  String in Pathname to volume, directory or folder
documents  String array in Names of the documents present at this location

The DOCUMENT LIST command populates the Text or String array documents with the names of the documents located at the pathname you pass in pathname.

Note: The pathname parameter only accepts absolute pathnames.

If there are no documents at the specified location, the command returns an empty array. If the pathname you pass in pathname is invalid, DOCUMENT LIST generates a file manager error that you can intercept using an ON ERR CALL method.

 
PROPERTIES 

Product: 4D
Theme: System Documents
Number: 474

This command modifies the Error system variable

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

FOLDER LIST
VOLUME LIST