compile-time error
English · Suomi
Compile-time error, which means the program did not compile. The compiler found and reported an error during compile time.
Fairly common compile time errors
- Missed [[;|semicolons]] - A fairly common coding error is the omission of the required semicolons. Usually every Pascal statement ends with a semicolon
Own compile time error
The compiler directive {$Fatal Error Message text} can create your own compile time error:
begin
// some code ..
// To keep the compilation going
// you need to change the code at this point
{$Fatal Error Message text}
// .. here is the code that is not compiled
// because the compilation stopped in error
end.See also
From the Free Pascal wiki, page "compile-time error", as it stood on 2020-09-17 after a change by Trev, 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.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
