On 25/03/2020 17:46, wkitt...@windstream.net wrote:
On 3/24/20 6:58 PM, Sven Barth via fpc-pascal wrote:
wkitt...@windstream.net schrieb am Di., 24. März 2020, 18:37:

you should figure out why typed constants are not being allowed/used
in your setup...

Typed constants can not be used to initialize constants.


hummm... ok, so how to you get a constant to be a byte and storing 7 for the decimal value?

or are you saying that you cannot use a typed constant in the init of another (typed) constant


Try

const
  seven = Byte(7);

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

Reply via email to