Type: | Submodule | Parent Module: | ModuleCMethods |
Module | Submodule_Methods_CloseWind |
Version / Date | 1.00 / 16th April 2002 |
Author (Organisation) | Kevin Gale (Newcastle Computer Services Plc) |
keving@ncs-plc.co.uk |
This module converts old style FileOps commands to the new non-visual FileOps object. Only certain old style commands are converted because the ones that used a file number cannot be easily converted to the object based FileOps paradigm.
Old Fileops Command
|
Converted to
|
Change working directory
|
FileOps.$changeworkingdir
|
Close file
|
Not converted
|
Copy file
|
FileOps.$copyfile (not yet implemented)
|
Create directory
|
FileOps.$createdir (not yet implemented)
|
Create file
|
Not converted
|
Delete file
|
FileOps.$deletefile (not yet implemented)
|
Does file exist
|
FileOps.$doesfileexist (not yet implemented)
|
Get files
|
FileOps.$filelist
|
Get file info
|
FileOps.$getfileinfo
|
Get file name
|
FileOps.$getfilename
|
Get file read-only attribute
|
FileOps.$getfileinfo
|
Get folders
|
FileOps.$filelist
|
Get working directory
|
FileOps.$getworkingdir
|
Move file
|
FileOps.$movefile (not yet implemented)
|
Open file
|
Not converted
|
Open resource fork
|
Not converted
|
Put file name
|
FileOps.$putfilename
|
Read entire file
|
FileOps.$readentirefile
|
Read file as binary
|
Not converted
|
Read file as character
|
Not converted
|
Set creator type
|
FileOps.$setfileinfo
|
Set file read-only attribute
|
FileOps.$setfileinfo
|
Split path name
|
FileOps.$splitpathname (not yet implemented)
|
Truncate file
|
Not converted
|
Write file as binary
|
Not converted
|
Write file as character
|
Not converted
|
Write entire file
|
FileOps.$writeentirefile (not yet implemented)
|
Search for old FILEOPS commands listed in table above. If a command is located that can be converted as indicated then convert to appropriate notational Fileops call.