|
fListDirectory (Function) In french: fListeRépertoire Syntax
Listing the subdirectories of a directory Hide the details
<Result> = fListDirectory(<Path of initial directory> [, <Options>])
Remarks Managing the errors Caution: fListDirectory returns no error code. To find out if this function has generated an error, use ErrorInfo with the errMessage constant.
Related Examples:
|
Unit examples (WINDEV): The fListFile function
[ + ] Using fListFile and its syntax that directly returns the list of files/directories found in string format.
|
This page is also available for…
|
|
|
| |
| | https://youtu.be/tpuThghZguE https://windevdesenvolvimento.blogspot.com/2019/09/dicas-2282-windev-webdev-mobile.html // BTN_DIRETORIO_LISTA s_arquivos_todos is string=fListDirectory(EDT_DIRETORIO) s_arquivo_individual is string="" TVT_DIRETORIO.DeleteAll() FOR EACH STRING s_arquivo_individual OF s_arquivos_todos SEPARATED BY CR nPOSICAO is int=TVT_DIRETORIO.AddLine() TVT_DIRETORIO.COL_01_DIRETORIO[nPOSICAO]=s_arquivo_individual END
|
|
|
|
| |
| |
| |
| |
| |
| |
| | |
| |