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

2011-05-09 Thread Rainer Stratmann
Am Monday 09 May 2011 21:37:03 schrieb Jonas Maebe: > If people don't like a language (any language, not just one or other Pascal > dialect) and want to criticise it, they will always find bad things to say. > The FPC manual is not the place to get involved into such petty debates. I did not say o

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

2011-05-09 Thread Jonas Maebe
On 09 May 2011, at 21:24, Rainer Stratmann wrote: > Am Monday 09 May 2011 21:17:17 schrieb Jonas Maebe: >> On 09 May 2011, at 21:14, Rainer Stratmann wrote: >>> I did not find it in the documentation. May be it can be added there. >>> >>> http://www.freepascal.org/docs-html/ref/refse10.html >>

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

2011-05-09 Thread Rainer Stratmann
Am Monday 09 May 2011 21:17:17 schrieb Jonas Maebe: > 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 proc

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

2011-05-09 Thread Jonas Maebe
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 D

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

2011-05-09 Thread Rainer Stratmann
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 docume

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

2011-05-09 Thread 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. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.or