On 16/01/2017 12:29, DougC via Lazarus wrote:
I'm not going to kick you, Mark, as your comments are spot on.
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
On 16/01/17 07:30, Lars via Lazarus wrote:
On Sun, January 15, 2017 3:30 pm, VojtÄch Äihák via Lazarus wrote:> Hello, has Lazarus (CodeTools) or
FPC some checking for empty commands? I> accidentally did this stupid mistake: > if ... then
begin>> end else;> begin> ...> exit;>
On Sun, January 15, 2017 3:30 pm, VojtÄch Äihák via Lazarus wrote:
> Hello, has Lazarus (CodeTools) or FPC some checking for empty commands? I
> accidentally did this stupid mistake:
> if ... then begin
>
> end else;
> begin
> ...
> exit;
> end;
>
Yikes! I think you just
Hello, has Lazarus (CodeTools) or FPC some checking for empty commands? I
accidentally did this stupid mistake:
if ... then
begin
...
end else;
begin
...
exit;
end;
Note the semicolon behind the "else".
Semicolon as an empty command is sometimes useful (temporary