On 18 October 2010 07:49, Florian Klaempfl <flor...@freepascal.org> wrote:

> Am 18.10.2010 08:17, schrieb Zaher Dirkey:
> >
> >
> > On Thu, Oct 14, 2010 at 11:21 AM, Michael Van Canneyt
> > <mich...@freepascal.org <mailto:mich...@freepascal.org>> wrote:
> >
> >
> >
> >     On Thu, 14 Oct 2010, Frank Church wrote:
> >
> >         Can variables be declared within a begin end block?
> >
> >
> >     No.
> >
>

That is a rather emphatic no :).
 Is there some performance or other related reason why it is a bad idea? I'm
not knowledgeable in this area but I'd like to know.

Sometimes my variable declarations is filled with lots of variables for the
sake of making code involving long derived expressions comprehensible and
the clutter the understanding at the top level of the procedure.

Can a procedure be declared inline just for the sake of introducing those
variables?



> >
> > That found in Gnu Pascal
> > Can we ask to be feature request?
> >
>
> No.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to