[fpc-pascal] Global static vars in a procedure or function

Jonas Maebe jonas.maebe at elis.ugent.be
Mon May 9 21:17:17 CEST 2011

On 09 May 2011, at 21:14, Rainer Stratmann wrote:

> Am Monday 09 May 2011 20:54:42 schrieb Jonas Maebe:
>> On 09 May 2011, at 20:48, Rainer Stratmann wrote:
>>> Is this possible like in C ?
>> A typed constant declared inside a procedure/function will behave like
>> that.
> Ah, thanks. Does Delphi also behave like this?


> I did not find it in the documentation. May be it can be added there.
> http://www.freepascal.org/docs-html/ref/refse10.html

It is mentioned there, in the remark at the bottom of the page.


More information about the fpc-pascal mailing list