Zum Hauptinhalt springen

GetFileFromList

Structure

GetFileFromList(iIndex: Integer)

Type

Function

Description

This function returns the name of a file at the position of iIndex from the current list of files populated through LoadFileList function.

Parameters: 2

| Parameter | Type | Description
| iIndex | Integer | Index number for the file name to be returned. The index #'s are in a 0-based list (first item = 0, last item = (Count - 1) |

Example:

iCount = LoadFileList("*.TXT", "C:\temp")

for i = 0 to (iCount - 1)

ShowMessage(GetFileFromList(i))

Next |