[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
I/O Errors are identified as codes 1 thru 199 and are equivalent
to the error codes reported by DOS. These errors occur when
programs incorrectly access the input/output devices. I/O errors
can be effectively trapped by first turning off error detection
{$I-}, performing an I/O operation, and reading the status of the
operation with IOResult. IOResult will display a value of 0 is
the operation was successful and a non-zero value otherwise.
ERROR NUMBER ERROR MESSAGE
-------------------------------------------------------------------------
2. File Not Found The name assigned to a file variable
was not found during a call to Append,
Erase, Reset, ReWrite, or ReName.
3. Path Not Found This error is reported if a specified
path cannot be found.
4. Too Many Open Files You have tryed to open more files
than allowed by DOS.
a. You may has forgotten to close a
file or are using a function to
check to see if a file exists that
does not close a file if it exists.
b. Increase the number of file located
your CONFIG.SYS file.
5. File Access Denied Occurs if you are trying to access a
file or directory that
a. is Read-Only
b. is Not open for output
c. does not have sufficient room on
the disk.
d. is Not open for reading.
6. Invalid File Handle The file variable that you assigned to
a filename has somehow been lost or
corrupted.
12. Invalid File Access Code Reported by Reset or Append on a typed
file if the value of the FileMode is
invalid.
15. Invalid Drive Number The specified drive was not found.
16. Cannot Remove Current
Directory It is invalid to remove the same
directory you are in.
17. Cannot Rename Across Drives Occurs if you pass to files to rename
that both are one the same drive.
100. Disk Read Error You attempted to read past the end
of a typed file.
101. Disk Write Error The disk is full.
102. File Not Assigned The filename has not been assigned to
a file variable.
103. File Not Open The file has not been opened prior to
a call to BlockRead, BlockWrite, Close,
Eof, FileSize, FilePos, Flush, Read,
Seek, or Write.
104. File Not Open For Input A file has not been open prior to a
call to a text file operation.
105. File Not Open For Output A file has not been open prior to a
call to a text file operation.
106. Invalid Numeric Format A numeric value read from a text file
does not conform to the proper numeric
format.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson