[fpc-pascal] private type and type compatibility

Tomas Hajny XHajT03 at hajny.biz
Thu Oct 31 15:49:32 CET 2013

On Thu, October 31, 2013 15:34, Frederic Da Vitoria wrote:
> 2013/10/31 waldo kitty <wkitty42 at windstream.net>
>> On 10/31/2013 7:38 AM, Frederic Da Vitoria wrote:
>>> But is this really good? Doesn't this contradict the Pascal
>>> philosophy? Borland did a few questionable things (look at how you used
>>> the
>>> semicolons in you examples above ;-) ),
>> i can't see anything untoward with their use... they are statement
>> separators, after all ;)
> Not when they are placed before a "end" since "end" is not a statement.
> Some Pascal compilers would even completely refuse a semicolon before a
> "end".

It isn't necessarily about "end" being a statement, but about allowing or
not allowing empty statements:

 WriteLn (1)
 WriteLn (1)


More information about the fpc-pascal mailing list