<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><<a href="mailto:wkitty42@windstream.net">wkitty42@windstream.net</a>> schrieb am Di., 24. März 2020, 18:37:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 3/24/20 12:40 PM, fredvs via fpc-pascal wrote:<br>
> Hello Alexander.<br>
> <br>
> I did:<br>
> <br>
> const<br>
> foldhiddenbit : byte = 7; // line 896<br>
> foldhiddenmask : byte = 1 shl foldhiddenbit; // line 897<br>
> currentfoldhiddenbit : byte = 6; // line 898<br>
> currentfoldhiddenmask : byte = 1 shl currentfoldhiddenbit; // line 899<br>
> foldlevelmask : byte = not (foldhiddenmask or currentfoldhiddenmask); //<br>
> line 900<br>
> <br>
> That gives that error messages:<br>
> <br>
> msedatalist.pas(897,47) Error: (3203) Illegal expression<br>
> msedatalist.pas(899,61) Error: (3203) Illegal expression<br>
> msedatalist.pas(900,72) Error: (3203) Illegal expression<br>
> msedatalist.pas(1126,1) Fatal: (10026) There were 3 errors compiling module,<br>
> stopping<br>
<br>
<br>
you should figure out why typed constants are not being allowed/used in your <br>
setup...<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Typed constants can not be used to initialize constants. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>