Function: choosefile

Syntax

choosefile( {<mode> {,<file>}} )

Type

string

Returns

Enables the operator to select a file name via an interactive "File Select" window. When this function is invoked, a file selection popup window is displayed and the user can scan directories and choose a file.

Parameters

Notes

The value returned by this function is the name of the chosen file, usually selected by pressing the ’Open" or ’Save" button in the popup window.

Pressing the 'Cancel' button will abort the operation and return an empty string.

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