level 11
革命家的右手
楼主
http://www.freepascal.org/docs-html/user/userap4.html
自己翻译的,英语烂见谅
1 Invalid function number 无效功能号
An invalid operating system call was attempted.
尝试了一个无效的操作系统命令
2 File not found 文件未找到
Reported when trying to erase, rename or open a non-existent file.
当你删除,重命名或打开一个TMD根本不存在的文件时就会出现这个错误
3 Path not found 路径未找到
Reported by the directory handling routines when a path does not exist or is invalid. Also reported when trying to access a non-existent file.
略
4 Too many open files 打开了太多文件
The maximum number of files currently opened by your process has been reached. Certain operating syste***imit the number of files which can be opened concurrently, and this error can occur when this limit has been reached.
再略
5 File access denied 文件访问被拒绝
Permission to access the file is denied. This error might be caused by one of several reasons:
访问这个文件被拒绝,以下为几个可能的原因
Trying to open for writing a file which is read-only, or which is actually a directory.
文件只读 或 只是个目录
File is currently locked or used by another process.
被锁了,或是被另一个进程调用了
Trying to create a new file, or directory while a file or directory of the same name already exists.
新建了一个已经存在的同名文件或目录
Trying to read from a file which was opened in write-only mode.
略
Trying to write from a file which was opened in read-only mode.
略
Trying to remove a directory or file while it is not possible.
试图删除一个不准删除的文件或目录
No permission to access the file or directory.
没权限
6 Invalid file handle 无效文件句柄
If this happens, the file variable you are using is trashed; it indicates that your memory is corrupted.
如果发生这个错误,说明你在使用的文件变量已丢失,这表示你的内存出问题了
12 Invalid file access code 无效文件存取代码
Reported when a reset or rewrite is called with an invalid FileMode value.
当你 reset 或 rewrite 一个无效的文件变量时会发生这个错误
15 Invalid drive number 无效驱动器号
The number given to the Getdir or ChDir function specifies a non-existent disk.
略,基本不会遇到的错误
16 Cannot remove current directory 无法删除当前目录
Reported when trying to remove the currently active directory.
当你尝试删除当前激活的目录时
17 Cannot rename across drives 无法跨驱动器更改文件名
You cannot rename a file such that it would end up on another disk or partition.
顾名思义
100 Disk read error磁盘读取错误
An error occurred when reading from disk. Typically happens when you try to read past the end of a file.
101 Disk write error磁盘写入错误
Reported when the disk is full, and you’re trying to write to it.
102 File not assigned文件变量未赋值
This is reported by Reset, Rewrite, Append, Rename and Erase, if you call them with an unassigned file as a parameter.
2012年07月23日 07点07分
1
自己翻译的,英语烂见谅
1 Invalid function number 无效功能号
An invalid operating system call was attempted.
尝试了一个无效的操作系统命令
2 File not found 文件未找到
Reported when trying to erase, rename or open a non-existent file.
当你删除,重命名或打开一个TMD根本不存在的文件时就会出现这个错误
3 Path not found 路径未找到
Reported by the directory handling routines when a path does not exist or is invalid. Also reported when trying to access a non-existent file.
略
4 Too many open files 打开了太多文件
The maximum number of files currently opened by your process has been reached. Certain operating syste***imit the number of files which can be opened concurrently, and this error can occur when this limit has been reached.
再略
5 File access denied 文件访问被拒绝
Permission to access the file is denied. This error might be caused by one of several reasons:
访问这个文件被拒绝,以下为几个可能的原因
Trying to open for writing a file which is read-only, or which is actually a directory.
文件只读 或 只是个目录
File is currently locked or used by another process.
被锁了,或是被另一个进程调用了
Trying to create a new file, or directory while a file or directory of the same name already exists.
新建了一个已经存在的同名文件或目录
Trying to read from a file which was opened in write-only mode.
略
Trying to write from a file which was opened in read-only mode.
略
Trying to remove a directory or file while it is not possible.
试图删除一个不准删除的文件或目录
No permission to access the file or directory.
没权限
6 Invalid file handle 无效文件句柄
If this happens, the file variable you are using is trashed; it indicates that your memory is corrupted.
如果发生这个错误,说明你在使用的文件变量已丢失,这表示你的内存出问题了
12 Invalid file access code 无效文件存取代码
Reported when a reset or rewrite is called with an invalid FileMode value.
当你 reset 或 rewrite 一个无效的文件变量时会发生这个错误
15 Invalid drive number 无效驱动器号
The number given to the Getdir or ChDir function specifies a non-existent disk.
略,基本不会遇到的错误
16 Cannot remove current directory 无法删除当前目录
Reported when trying to remove the currently active directory.
当你尝试删除当前激活的目录时
17 Cannot rename across drives 无法跨驱动器更改文件名
You cannot rename a file such that it would end up on another disk or partition.
顾名思义
100 Disk read error磁盘读取错误
An error occurred when reading from disk. Typically happens when you try to read past the end of a file.
101 Disk write error磁盘写入错误
Reported when the disk is full, and you’re trying to write to it.
102 File not assigned文件变量未赋值
This is reported by Reset, Rewrite, Append, Rename and Erase, if you call them with an unassigned file as a parameter.