Function: choosefiles( )

Syntax

choosefiles( {<file> {,<type> {,<title>}}} )

Type

string[ ]

Returns

Enables the operator to select one or more file names via an interactive "File(s) Select" window. When this function is invoked, a file selection popup dialog window is displayed and the user can scan directories and choose files.

Parameters

Notes

The files are selected by pressing the Open button in the popup window. If at least one file is selected then the function returns the number of selected files plus 1. The first value is the directory containing the selected files, the second and subsequent values are the names of the selected files.

Pressing the Cancel button will abort the operation and return 0 values.

The position of the dialog window is determined by the value of menu_position.

No action is done to the selected files. This is the responsibility of the caller.

The system numeric identifier found is set by this function. It gets set to the number of selected files on a successful operation, or 0 on dialog cancel or error.

See Also

Functions:

choosedir, choosefile