file.getFileDialog ("Pick a file, any file", @x, 0); return (x)
» "C:\\Program Files\\Frontier\\Frontier.exe"
file.getFileDialog ("Pick a file, any file", @x, ".txt"); return (x)
» "C:\\Program Files\\Frontier\\blah.txt"
file.getFileDialog ("Select an application", @scratchpad.x, 'APPL');
return (scratchpad.x)
» System:Frontier 1.0:UserLand Frontier
Places the string in scratchpad.x and displays it as well.
file.getFileDialog ("Select a file", @x, 0);
return (x)
» System:System Folder:Finder
Places the string in the local variable x and displays it as well.
if file.getFileDialog ("TeachText file", @x, {'TEXT', 'ttro'}) {return (file.type (x))}
» 'ttro'
You can also pass a list of string4 values to display more than one type (up to ten).