FileList_Get()

Examples


The FileList_Get() function retrieves the file information for a specific position in the file list.

Syntax

FileList_Get(filelist, index, full_path {, file_format}{, filename})

Parameters

filelist – A long integer specifying the file list from which file information is being retrieved.

index – An integer specifying the file list item to be retrieved from the file list. The value 1 indicates the first item.

full_path – A returned string containing the full path of the file list item.

file_format – An optional returned integer that identifies the type of file for the file list item. The value typically corresponds to one of the following constants:

[spacer]

Constant

Description

TEXTFILE

A text file

TABFILE

A tab-delimited file

COMMAFILE

A comma-delimited file

HTMLFILE

An HTML file

PDFFILE

A PDF file

XMLFILE

An XML file

DOCXFILE

A Microsoft Word file

XLSXFILE

A Microsoft Excel file


filename – An optional returned string that contains the filename and extension for the file list item.

Return value

A boolean. The value true indicates the file list item was retrieved, while false indicates it was not.


Documentation Feedback