TURBO PASCAL |
Новости
|
33: Which error is e.g. Runtime error 205A: Basically this is a case of RTFM (read the f*ing manual). But it is very easy to find out even without resorting to the manual. Put temporarily the statement RunError (205); as the first statement of your program. Then run your program from the Turbo Pascal IDE, that is from within the TP editor. The description of the error will appear. If you run a program from within a Turbo Pascal IDE, it is advisable to turn on the debug options on. You'll get both the error number and the description. Furthermore by pressing F1 after the error you get its description in a more verbal format. One further trick is to put "uses TSERR"; (Include verbal run-time error messages) into your program. If you do that, the run-time errors will be given with a verbal description not just as a number. TSERR.TPU is part of my TPU collection at Garbo ftp://garbo.uwasa.fi/pc/ts/tspa3470.zip. In TP 7.0 the run time errors can also be found by invoking "Help" from the main manu (Alt-H) and selecting "Error messages". |
(с)Все права защищены По всем интересующим вопросам прошу писать на электронный адрес |