select_file
Entity: function

Usage:
Name is select_file(Type, Title, Filter)

Invokes a standard file dialog box.
 
Name variable to receive the file name
Type type of the dialog box:
 o = open
 s = save
Title dialog box title
Filter filter to display in file types field 

Example:

?-
  Name is select_file(o, _, "All files (*.*)\0*.*\0 Some files (*.sm)\0*.sm\0"),
  write(Name), nl.

See also:

open
close