<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 16/01/2017 12:29, DougC via Lazarus
wrote:<br>
</div>
<blockquote
cite="mid:159a740aa50.e46e0c3499030.1232666091652001502@moosemail.net"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div
style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;">
<div>I'm not going to kick you, Mark, as your comments are spot
on. <br>
</div>
<div><br>
</div>
<div>What I think wold be very helpful to the FPC community is a
warning that is issued when a semi-colon is immediately
followed by a "begin" as that is an unusual construct and, as
shown in the example here, an indicator of a likely mistake.<br>
</div>
<br>
</div>
</blockquote>
Well you can set the IDE to highlight such cases. (At least so long
as the ; is on the same line, and right after the else)<br>
<br>
In Options / Editor / go to "user defined markup" (F1 should get the
wiki help)<br>
<br>
Add a new term. Add the words <br>
then;<br>
then ;<br>
else;<br>
else ;<br>
<br>
and if you want with several spaces too.<br>
<br>
Then set the background color to a strong red. Et voila.<br>
<br>
</body>
</html>