[fpc-pascal] typed constants

P Padil ppadilcdx at gmail.com
Fri Jan 2 19:57:12 CET 2026


I attempted to use a typed constant:

const
	tprob : Double = 0.020;

But the compiler (3.2.2) balked as illegal expression.  Am i misreading section "2.2  Typed constants” in the reference manual?

Thanks,
Pete


More information about the fpc-pascal mailing list