DOCUMENT LIST

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 6.0


DOCUMENT LIST (pathname; documents)

ParameterTypeDescription
pathnameStringPathname to volume, directory or folder
documentsString arrayNames of the documents present at this location

Description

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.

See Also

FOLDER LIST, VOLUME LIST.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next