https://wiki.freepascal.org/index.php?title=runtime_error/fi&feed=atom&action=history
runtime error/fi - Revision history
2024-03-28T18:53:46Z
Revision history for this page on the wiki
MediaWiki 1.35.6
https://wiki.freepascal.org/index.php?title=runtime_error/fi&diff=153266&oldid=prev
Kai Burghardt: resolve Category: Pages using deprecated enclose attributes
2022-08-06T15:21:29Z
<p>resolve <a href="/index.php?title=Category:Pages_using_deprecated_enclose_attributes&action=edit&redlink=1" class="new" title="Category:Pages using deprecated enclose attributes (page does not exist)">Category: Pages using deprecated enclose attributes</a></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:21, 6 August 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l17" >Line 17:</td>
<td colspan="2" class="diff-lineno">Line 17:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>jotka saattavat lopulta aiheuttaa ohjelman viallisen käyttäytymisen.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>jotka saattavat lopulta aiheuttaa ohjelman viallisen käyttäytymisen.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Jos mukana on FPC:n {{Doc|package=RTL|unit=sysutils|text=<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>sysUtils</syntaxhighlight> unit}} niin kaikki ajonaikaiset virheet muuttuvat [[Exceptions/fi|poikkeuksiksi]].</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Jos mukana on FPC:n {{Doc|package=RTL|unit=sysutils|text=<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>sysUtils</syntaxhighlight> unit}} niin kaikki ajonaikaiset virheet muuttuvat [[Exceptions/fi|poikkeuksiksi]].</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>(kts. {{Doc|package=RTL|unit=system|identifier=runtimeerrors|text=<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>system.runTimeErrors</syntaxhighlight>}} yksityiskohdat).</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>(kts. {{Doc|package=RTL|unit=system|identifier=runtimeerrors|text=<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>system.runTimeErrors</syntaxhighlight>}} yksityiskohdat).</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Toisin kuin ajonaikaiset virheet ne jotka voidaan ottaa kiinni [[Try/fi| <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>try</syntaxhighlight>]]...[[Except/fi| <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>except</syntaxhighlight>]] </div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Toisin kuin ajonaikaiset virheet ne jotka voidaan ottaa kiinni [[Try/fi| <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>try</syntaxhighlight>]]...[[Except/fi| <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>except</syntaxhighlight>]] </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[On/fi| <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>on</syntaxhighlight>]]...[[Do/fi| <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>do</syntaxhighlight>]] ... [[End/fi| <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>end</syntaxhighlight>]] [[Block/fi|lohkoilla]] edellyttäen että käytetään poikkeuksia sallivia kääntäjän tiloja kuten[[Mode ObjFPC|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>{$mode ObjFPC}</syntaxhighlight>]] tai [[Mode Delphi|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>{$mode Delphi}</syntaxhighlight>]].</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[On/fi| <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>on</syntaxhighlight>]]...[[Do/fi| <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>do</syntaxhighlight>]] ... [[End/fi| <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>end</syntaxhighlight>]] [[Block/fi|lohkoilla]] edellyttäen että käytetään poikkeuksia sallivia kääntäjän tiloja kuten[[Mode ObjFPC|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>{$mode ObjFPC}</syntaxhighlight>]] tai [[Mode Delphi|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>{$mode Delphi}</syntaxhighlight>]].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Ajonaikainen virhe saa ohjelman päättymään, kun taas poikkeusten käyttö voi antaa mahdollisuuden korjata ongelma.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Ajonaikainen virhe saa ohjelman päättymään, kun taas poikkeusten käyttö voi antaa mahdollisuuden korjata ongelma.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Standardin mukaisen {{Doc|package=RTL|unit=system|identifier=runerror|text=<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>system.runError</syntaxhighlight>}} </div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Standardin mukaisen {{Doc|package=RTL|unit=system|identifier=runerror|text=<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>system.runError</syntaxhighlight>}} </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> normaalia käyttäytymistä voidaan muuttaa määrittämällä ei-[[Nil/fi|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>nil</syntaxhighlight>]] arvo {{Doc|package=RTL|unit=system|identifier=errorproc|text=<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>system.errorProc</syntaxhighlight>}}:lle.</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> normaalia käyttäytymistä voidaan muuttaa määrittämällä ei-[[Nil/fi|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>nil</syntaxhighlight>]] arvo {{Doc|package=RTL|unit=system|identifier=errorproc|text=<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>system.errorProc</syntaxhighlight>}}:lle.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Katso myös ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Katso myös ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [https://www.freepascal.org/docs-html/user/userap4.html Appendix D in the Free Pascal User's Guide: “Run-time errors”]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [https://www.freepascal.org/docs-html/user/userap4.html Appendix D in the Free Pascal User's Guide: “Run-time errors”]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [[RunError|procedure <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>runError</syntaxhighlight>]]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [[RunError|procedure <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>runError</syntaxhighlight>]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [https://www.freepascal.org/docs-html/current/user/userse58.html “Line numbers in run-time error backtraces”] in the Free Pascal User's Guide</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* [https://www.freepascal.org/docs-html/current/user/userse58.html “Line numbers in run-time error backtraces”] in the Free Pascal User's Guide</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* {{Doc|package=RTL|unit=system|identifier=returnnilifgrowheapfails|text=<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>system.returnNilIfGrowHeapFails</syntaxhighlight>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* {{Doc|package=RTL|unit=system|identifier=returnnilifgrowheapfails|text=<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>system.returnNilIfGrowHeapFails</syntaxhighlight>}}</div></td></tr>
</table>
Kai Burghardt
https://wiki.freepascal.org/index.php?title=runtime_error/fi&diff=128096&oldid=prev
Djzepi: /* Käännösajan virheet */
2019-10-28T18:24:45Z
<p><span dir="auto"><span class="autocomment">Käännösajan virheet</span></span></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:24, 28 October 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l11" >Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Käännösajan virheet ===</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Käännösajan virheet ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Toisin kuin [[<del class="diffchange diffchange-inline">Compile </del>time/fi|käännösaikaiset]] <del class="diffchange diffchange-inline">virheet</del>, jotka [[Compiler/fi|kääntäjä]] havaitsee kääntämisen aikana, niin ajonaikaiset virheet riippuvat ohjelman tilasta, joten niitä ei voida ennakoida. Jos syntyy käännösaikainen virhe niin suoritettavaa ohjelmaa ei tule.</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Toisin kuin [[<ins class="diffchange diffchange-inline">compile-</ins>time <ins class="diffchange diffchange-inline">error</ins>/fi|käännösaikaiset <ins class="diffchange diffchange-inline">virheet</ins>]], jotka [[Compiler/fi|kääntäjä]] havaitsee <ins class="diffchange diffchange-inline">[[Compile time/fi|</ins>kääntämisen aikana<ins class="diffchange diffchange-inline">]]</ins>, niin ajonaikaiset virheet riippuvat ohjelman tilasta, joten niitä ei voida ennakoida. Jos syntyy käännösaikainen virhe niin suoritettavaa ohjelmaa ei tule.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Poikkeukset ===</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Poikkeukset ===</div></td></tr>
</table>
Djzepi
https://wiki.freepascal.org/index.php?title=runtime_error/fi&diff=124253&oldid=prev
Djzepi: Created page with "{{runtime error}} Ajonaikainen virhe (run-time error) on korjaamaton virhetila, joka syntyy ajon aikana, eli ohjelman suorituksessa...."
2019-04-14T05:45:53Z
<p>Created page with "{{runtime error}} Ajonaikainen virhe (run-time error) on korjaamaton virhetila, joka syntyy <a href="/runtime/fi" title="runtime/fi">ajon aikana</a>, eli <a href="/Executable_program/fi" title="Executable program/fi">ohjelman suorituksessa</a>...."</p>
<p><b>New page</b></p><div>{{runtime error}}<br />
<br />
Ajonaikainen virhe (run-time error) on korjaamaton virhetila, joka syntyy [[runtime/fi|ajon aikana]], eli [[Executable program/fi|ohjelman suorituksessa]].<br />
<br />
== Käyttäytyminen ==<br />
<br />
[[FPC/fi|FPC]] lisää koodia, havaitsemaan suuren määrän virhetilanteita. Jos tällainen tilanne ilmenee, [[RTL/fi|RTL-kirjasto]] käynnistää ohjelman lopettamisen. Run-time error numero ja sen osoite, jossa virhe tapahtui, tulostetaan. Tämä on turvallisin ja halvin virheenkäsittely.<br />
<br />
<br />
== Vertailevia huomautuksia ==<br />
=== Käännösajan virheet ===<br />
<br />
Toisin kuin [[Compile time/fi|käännösaikaiset]] virheet, jotka [[Compiler/fi|kääntäjä]] havaitsee kääntämisen aikana, niin ajonaikaiset virheet riippuvat ohjelman tilasta, joten niitä ei voida ennakoida. Jos syntyy käännösaikainen virhe niin suoritettavaa ohjelmaa ei tule.<br />
<br />
=== Poikkeukset ===<br />
Ajonaikaiset virheet ovat klassinen välttämätön lähestymistapa, jotta vältetään epäjohdonmukaiset ohjelmatilat,<br />
jotka saattavat lopulta aiheuttaa ohjelman viallisen käyttäytymisen.<br />
<br />
Jos mukana on FPC:n {{Doc|package=RTL|unit=sysutils|text=<syntaxhighlight lang="pascal" enclose="none">sysUtils</syntaxhighlight> unit}} niin kaikki ajonaikaiset virheet muuttuvat [[Exceptions/fi|poikkeuksiksi]].<br />
(kts. {{Doc|package=RTL|unit=system|identifier=runtimeerrors|text=<syntaxhighlight lang="pascal" enclose="none">system.runTimeErrors</syntaxhighlight>}} yksityiskohdat).<br />
Toisin kuin ajonaikaiset virheet ne jotka voidaan ottaa kiinni [[Try/fi| <syntaxhighlight lang="pascal" enclose="none">try</syntaxhighlight>]]...[[Except/fi| <syntaxhighlight lang="pascal" enclose="none">except</syntaxhighlight>]] <br />
[[On/fi| <syntaxhighlight lang="pascal" enclose="none">on</syntaxhighlight>]]...[[Do/fi| <syntaxhighlight lang="pascal" enclose="none">do</syntaxhighlight>]] ... [[End/fi| <syntaxhighlight lang="pascal" enclose="none">end</syntaxhighlight>]] [[Block/fi|lohkoilla]] edellyttäen että käytetään poikkeuksia sallivia kääntäjän tiloja kuten[[Mode ObjFPC|<syntaxhighlight lang="pascal" enclose="none">{$mode ObjFPC}</syntaxhighlight>]] tai [[Mode Delphi|<syntaxhighlight lang="pascal" enclose="none">{$mode Delphi}</syntaxhighlight>]].<br />
Ajonaikainen virhe saa ohjelman päättymään, kun taas poikkeusten käyttö voi antaa mahdollisuuden korjata ongelma.<br />
Standardin mukaisen {{Doc|package=RTL|unit=system|identifier=runerror|text=<syntaxhighlight lang="pascal" enclose="none">system.runError</syntaxhighlight>}} <br />
normaalia käyttäytymistä voidaan muuttaa määrittämällä ei-[[Nil/fi|<syntaxhighlight lang="pascal" enclose="none">nil</syntaxhighlight>]] arvo {{Doc|package=RTL|unit=system|identifier=errorproc|text=<syntaxhighlight lang="pascal" enclose="none">system.errorProc</syntaxhighlight>}}:lle.<br />
<br />
== Katso myös ==<br />
* [https://www.freepascal.org/docs-html/user/userap4.html Appendix D in the Free Pascal User's Guide: “Run-time errors”]<br />
* [[RunError|procedure <syntaxhighlight lang="pascal" enclose="none">runError</syntaxhighlight>]]<br />
* [https://www.freepascal.org/docs-html/current/user/userse58.html “Line numbers in run-time error backtraces”] in the Free Pascal User's Guide<br />
* {{Doc|package=RTL|unit=system|identifier=returnnilifgrowheapfails|text=<syntaxhighlight lang="pascal" enclose="none">system.returnNilIfGrowHeapFails</syntaxhighlight>}}</div>
Djzepi