FileIO Object
Contains:
Constants fmWide, fmUTF and fmPlain, which define the format of the file to be written.
Functions:
- GetTempFile (without parameters) - returns name of the temporary file.
- GetPluginFolder (without parameters) - returns path to the folder in Inquiry where the plugin may keep its files. This folder also conains options.xml file with the plugin settings.
- Create (fname, mode) - returns File object, which is open for writing. fname - filename to create, mode is optional. If mode is omitted, it is smPlain.
- Open (fname, mode) - returns File object, which is open for reading. fname - filename to create, mode is optional. If mode is omitted, it is smPlain.
- Run (fname, Parameters) - executes fname with the Parameters (optional).
- Delete (fname) - removes file.
- FileExists (fname) - returns true if fname exists on the disk.
|