Param1Desc{The caption which appears in the title bar of the dialog, eg "Open Editor File"}CommandName{openDialog}HelpPath{Dialogs}ReturnValue{str fileName=}OpenBrace{(}Parameters{str caption, str fileTypes, [int options], [str initDir]}CloseBrace{)}Description{Displays a standard open-file dialog.  This allows the user to select a file to open.  This is usually used for opening and saving documents in a Level Editor for example.}ReturnDescription{The filename and path of the file which the user selected.}Param1{caption}Param2{fileTypes}Param2Desc{String specifying the types of files which the user can view.  The string looks like this : <pre>Description of FileType|Extension|Description of FileType|Extension</pre> Using a pipe character |  (chr$(127)) to seperate each part.
<br><br>
For example:
<br>
<pre>file=openDialog("Open Text File","Text Files (*.txt)|*.txt|All Files (*.*)|*.*")</pre>}Param3{[options]}Param3Desc{Optional.  If 1 enables multiple file selection, if 0 only one file may be selected.}Param4{[initDir]}Param4Desc{Optional.  If specified sets the folder which is open when the dialog first appears.}