<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 03/08/2022 12:41, wkitty42--- via
fpc-pascal wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7c3829f1-3cd8-58fa-50e4-67154bcfc6a0@windstream.net">On
8/2/22 5:12 AM, Michael Van Canneyt via fpc-pascal wrote:
<br>
<blockquote type="cite">The variant part of a record must always
come last.
<br>
</blockquote>
<br>
FWIW: is this documented somewhere easily found?
<br>
<br>
</blockquote>
google<br>
free pascal language reference <br>
<br>
<a class="moz-txt-link-freetext" href="https://www.freepascal.org/docs-html/ref/ref.html">https://www.freepascal.org/docs-html/ref/ref.html</a><br>
<br>
and read up on "record"<br>
<blockquote type="cite">
<p class="nopar">The variant part must be last in the record. The
optional identifier in the case
statement serves to access the tag field value, which otherwise
would be invisible
to the programmer. It can be used to see which variant is active
at a certain
time<span class="footnote-mark"><a
href="https://www.freepascal.org/docs-html/ref/refsu15.html#fn3x4"
id="fn3x4-bk"><sup class="textsuperscript">3</sup></a></span>.
In effect, it introduces a new field in the record.</p>
</blockquote>
<br>
</body>
</html>