<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-forward-container">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif"}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
span.cmbx-10
{}
span.BalloonTextChar
{font-family:"Tahoma","sans-serif"}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:70.85pt 70.85pt 2.0cm 70.85pt}
div.WordSection1
{}
-->
</style>
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">
<div class="WordSection1">
<p class="MsoNormal"><span style="" lang="EN-US">Today I found
this type definition in some FreePascal sources:
</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">Type</span><span
style=""> </span>
Real <span style=""> </span>=<span style=""> </span><span
style=""> </span>type Double;<span style="">
</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="" lang="EN-US">I wondered
what the second “type” keyword means here (I have never
seen this before).</span></p>
<br>
<p class="MsoNormal"><span style="" lang="EN-US">So I looked
at <a moz-do-not-send="true"
href="http://www.freepascal.org/docs-html/ref/refch3.html#refse17.html"
target="_blank">
http://www.freepascal.org/docs-html/ref/refch3.html#refse17.html</a></span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">where it
says:</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">_________________________________________________________________________________________________________<br>
<span class="cmbx-10">Type declaration</span><br>
<br>
</span><span style=""><img id="Picture_x0020_1"
src="cid:part2.06090308.06040105@gmx.de" alt="-- - - -
-|-------------- --------------- type declaration
identifier = type |- --|; hint directives " height="28"
width="533" border="0"></span><span style=""
lang="EN-US"><br>
___________________________________________________________________</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">Although type
declarations are very fundamental and I am using them <br>
since 30 years I can’t find out what this diagram is
trying to tell me.</span></p>
<span style="" lang="EN-US">For example, I am missing the
keyword “TYPE” in this syntax diagramm.</span><span style=""
lang="EN-US"><br>
</span> <span style="" lang="EN-US"> </span>
<p class="MsoNormal"><span style="" lang="EN-US">I don’t know
whether the first “type” is the standard type definition
entry keyword<br>
but if so it should be typed in bold font.<br>
</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">It can also
be part of a text “type declaration” (which is obviously
not a keyword).</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">But then why
does <span style="">
</span>“type declaration” appear twice (in the heading
*<b>and</b>* the syntax diagramm)?<br>
Following the line should generate a valid path to a
(syntactical) correct type declaration.<br>
But why is then "type declaration" part of a type
declaration?<br>
Makes no sense to me.<br>
It would generate an endless recursive loop.<br>
</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">Another
problem is “hint directives”.</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">What is it?
There is no link nor text that explains it.</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">So I started
another google search for “hint directives”</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">but I only
found this: <a moz-do-not-send="true"
href="http://www.freepascal.org/docs-html/ref/refse5.html"
target="_blank">
http://www.freepascal.org/docs-html/ref/refse5.html</a></span></p>
<p class="MsoNormal"><span style="" lang="EN-US">where it says
that hint directives are for variable declarations but not
for type declarations<br>
(and again "hint directives" are part of hint directives
which is not correct IMO).</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-US">Can someone
clarify this documentation please?</span></p>
<p class="MsoNormal"><span style="" lang="EN-US">Where can I
find the documentation for my original question about the
double TYPE keyword?</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
</div>
</div>
</div>
</body>
</html>