[fpc-pascal] Re: Linked list constant

Martin Schreiber mse00000 at gmail.com
Mon Mar 18 17:53:13 CET 2013


On Monday 18 March 2013 14:27:25 leledumbo wrote:
> > Is it possible to make a forward declaration for a0?
>
> No, forward type declaration is possible (with the restriction that the
> type must be based on pointer and the real declaration starts in the same
> type block), but forward variable declaration is not. You won't gain much
> benefit from doing the assignment at declaration than doing it at program
> start.
>
Really? No gain in the beloved readability? And it seems to me a "const" 
should not be changed by code. ;-)

Martin



More information about the fpc-pascal mailing list