[fpc-pascal] bug in Interface documentation?

Michael Van Canneyt michael at freepascal.org
Mon Oct 12 17:59:39 CEST 2015



On Mon, 12 Oct 2015, Graeme Geldenhuys wrote:

> Hi,
>
> Speaking of Interfaces, there seems to be a bug (omission) in the
> Interface syntax diagram.
>
>   http://www.freepascal.org/docs-html/ref/refse39.html
>
> The syntax diagram suggests that multiple interfaces can't be specified
> in the "heritage" section.

The diagram is correct.

>
> I believe the diagram should look something like the following instead:
>
> [mono font required]
>
>>> ─── heritage ── ( ──┬─ interface type identifier ──┬─ ) ───────><
>                      ^───────────── , ──────────────┘

No. This is only so for classes.

Michael.


More information about the fpc-pascal mailing list