Sign in Join
Wiki copytemporary

compile-time error/fi: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: compile-time error/fi

OldNewLine
1+Käännösaikainen virhe, joka tarkoittaa sitä, että [[Program/fi|ohjelma]] ei kääntynyt Eli [[Compiler/fi|Kääntäjä]] löysi virheen, raportoi sen [[Compile time/fi|käännösaikana]] ja lopetti kääntämisen siihen.
2+
3+## Melko yleisiä käännösaikaisia virheitä
4+
5+- Pois jäänyt [[;/fi|puolipiste]] - Melko yleinen koodausvirhe on vaaditun puolipisteen jääminen pois. Yleensä jokainen [[Pascal/fi|Pascal]]-[[statement/fi|lause]] päättyy puolipisteeseen.
6+
7+## Oma käännösaikainen virhe
8+
9+[[Compiler directive/fi|Kääntäjän ohjeella]] `{$Fatal Error Message text}` aikaan saadaan oma käännösaikainen virhe
10+
11+``` pascal
12+begin
13+ // jotain koodia ..
14+
15+ // jotta kääntäminen jatkuisi
16+ // niin seuraavan rivin koodi on vahdettava
17+
18+ {$Fatal Error Message text}
19+
20+ // .. .. Tässä on koodia, jota ei ole käännetty
21+ // koska kääntäminen pysähtyi virheeseen
22+end.
23+```
24+
25+## Katso myös
26+
27+- [[runtime error/fi|Ohjelman ajon aikainen virhe]]
28+
29+---
30+*From the Free Pascal wiki, page "compile-time error/fi", as it stood on 2019-10-28 after a change by Djzepi, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history