Added in 1.9.0

$sfile(dir,[title],[oktext])

Displays the select file dialog and returns the selected file.

Parameters
dir - Start filename in the file dialog.
title - Dialog title text. (optional)
oktext - TODO (optional)

Example

; Open the file dialog.
//echo -ag $sfile(*.ini,Select File)