Previous: 2.3.13. Differences between 16- and 32-bit code To the Table of Contents Next: 3. Compiler Directives
2.3.13. Differences between 16- and 32-bit code Table of Contents 3. Compiler Directives

- 2.4. -
Table of Contents
2. TMT Pascal Language Description
2.4. Run-time error codes


2.4. Run-time error codes


The following error codes are predefined:
CodeMeaning
1Invalid function number
2File not found
3Path not found
4Too many open files
5File access denied
6Invalid file handle
12Invalid file access code
15Invalid drive number
16Cannot remove current directory
17Cannot rename across drives
18No more files
100Disk read error
101Disk write error
102File not assigned
103File not open
104File not open for input
105File not open for output
106Invalid numeric format
150Disk is write protected
151Bad drive request structure length
152Drive not ready
154CRC error in data
156Disk seek error
157Unknown media type
158Sector not found
159Printer out of paper
160Device write fault
161Device read fault
162Hardware failure
200Division by zero
201Range check error
202Stack overflow error
203Heap overflow error
204Invalid pointer operation
205Floating point overflow
206Floating point underflow
207Invalid floating point operation
208Overlay manager not installed
209Overlay file read error
210Object not initialized
211Call to abstract method
212Stream registration error
213Collection index out of range
214Collection overflow error
215Arithmetic overflow error
216General protection fault
217Invalid operation code
227Assertion failed
300File IO error
301Non matched array bounds
302Non local procedure pointer
303Procedure pointer out of scope
304Function not implemented
305Breakpoint error
306Break by Ctrl/C
307Break by Ctrl/Break
308Break by other process
309No floating point coprocessor
310Invalid Variant type operation



Previous: 2.3.13. Differences between 16- and 32-bit code To the Table of Contents Next: 3. Compiler Directives
2.3.13. Differences between 16- and 32-bit code Table of Contents 3. Compiler Directives

- 2.4. -