Am 2014-01-08 21:12, schrieb Sven Barth:
>> I don’t know whether the first 'type' is the standard type definition
>> entry keyword but if so it should be typed in bold font.
> No, it's not the keyword, it's a "reference" to the syntax diagram named
> "type" directly below it (though I have to admit that this is not necessarily 
clear...).

It seems that all syntax diagrams have the same issue:

That what should be declared is repeated in the declaration
itself which makes no sense to me.
A syntax diagram for 'type declaration' (which is written in the heading 
already)
cannot have the text 'type declaration' again in the diagram.
The diagram just should explain 'type declaration'.
Following the line should reveal a syntactical correct 'type declaration'
so it should not contain itself the text 'type declaration'.
Otherwise it recursively explains itself in an endless loop.



>> Where can I find the documentation for my original question about the double 
TYPE keyword?
> This link explains it a bit: 
http://docwiki.embarcadero.com/RADStudio/XE5/en/Type_Compatibility_and_Identity

But that's not part of the Free Pascal documentation.
So it's not available in the documentation of Free Pascal?
Who can know when he has to look at the Delphi
documentation (which version?) and when this differs from Free Pascal?


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to