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
http://wiki.freepascal.org/Const

Also here it is worth to mention:
http://www.freepascal.org/docs-html/ref/refse20.html#x52-590004.2

>
> Jonas
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to