GetFile Function

Opens the Open File dialog box. Return value is full pathname of file selected by user. If user cancels operation, function returns an empty string. Argument to function supplies description of files and default extension. These two items are separated by '\ '. E.g. GetFile('Schematic Files\\sch').

This function has now been superseded by the functions GetSimetrixFile and GetUserFile which are more flexible.

Arguments

Number Type Compulsory Default Description
1 string Yes File specification
2 real No 0: file must exist, 1:need not exist

Returns

Return type: string