[fpc-pascal]typed constants

Jonas Maebe jonas at zeus.rug.ac.be
Thu Jan 2 13:52:01 CET 2003


On donderdag, jan 2, 2003, at 00:34 Europe/Brussels, Mark Emerson wrote:

> What, pray tell, does that imply for a LOCAL typed constant?  Where is
> the devilish thing stored, if not on the stack?  Does it get stored
> globally?

In the old TP days, they used to be stored inside the code segment 
IIRC. We simply store them in the data segment (with a reduced name 
scope so they're only accessible from a single procedure).


Jonas





More information about the fpc-pascal mailing list