listtextfiles(
FOLDER
)

The listtextfiles( function returns a list of text files in the specified folder.


Parameters

This function has one parameter:

folder – the path to the folder. See Files and Folders for details about file paths.


Description

This function builds a text array listing the files in a folder. The items in the list are separated by the carriage return character (see Text Arrays).

This example will list all of the text files (which will primarily be .html files) at the root level of your personal web server:

listtextfiles("/Library/WebServer/")

Note: This function is equivalent to:

listfiles(thefolder,"TEXT????")

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.