definition module UtilIO import StdString, StdFile import StdPSt, StdMaybe, StdPictureDef, StdId import UtilDate LaunchApplication :: !{#Char} !{#Char} !Bool !Files -> ( !Bool, !Files) LaunchApplication` :: !{#Char} !Bool !Files -> ( !Bool, !Files) // Returns True if the file name exists. FExists :: !String !Files -> (!Bool, !Files) // Returns the last modification date of the indicated file. FModified :: !String !Files -> (!DATE, !Files) // Returns directory in which the indicated application resides. FStartUpDir :: !String !Files -> (!String, !Files) GetFullApplicationPath :: !*Files -> ({#Char}, *Files) // Returns True if the file exists and is read-only FReadOnly :: !{#Char} !*env -> (!Bool, !*env) | FileSystem env FFileSize :: !{#Char} !*env -> (!(!Bool,!Int), !*env) | FileSystem env GetLongPathName :: !String -> String; GetShortPathName :: !String -> (!Bool,!String); GetCurrentDirectory :: (!Bool,!String) selectInputFile` :: !(PSt .l) -> (!Maybe String,!(PSt .l)) selectOutputFile` :: !String !String !String !(PSt .l) -> (!Maybe String,!(PSt .l)) selectDirectory` :: !(PSt .l) -> (!Maybe String,!(PSt .l)) ShellDefault :: !{#Char} !(PSt .l) -> (!Int,!(PSt .l)) GetDialogBackgroundColour :: !(PSt .l) -> (!Colour, !PSt .l) isWindow :: !Id *(PSt .l) -> (Bool,*(PSt .l))