Carlisle Martin C Dr USAFA/DFCS wrote:
> KEVIN>But my experience is that students learning C/C++ quickly learn where
> >the semicolons go; while students learning Pascal are never quite sure.
>
> This is a deficiency of Pascal, and is noted in the paper comparing Pascal
> and Ada in the latest Ada Letters (which goes a long way to prove syntax
> matters!)
The rule is simple. With Pascal semicolons separate statement and with
Ada semicolons end them.
Now for C++, semicolons end statements but they don't end blocks but
they do end blocks of declarations. Now that is an easy rule.
Just my $0.02
Steve