|Non-declared Variables firstname.lastname@example.org (Avatar) (2006-10-16)|
|Re: Non-declared Variables email@example.com (Wolfram Fenske) (2006-10-17)|
|Re: Non-declared Variables firstname.lastname@example.org (2006-10-24)|
|Re: Non-declared Variables Peter_Flass@Yahoo.com (Peter Flass) (2006-10-26)|
|Re: Non-declared Variables email@example.com (Pascal Bourguignon) (2006-10-28)|
|Re: Non-declared Variables ArarghMail610@Arargh.com (2006-10-28)|
|Re: Non-declared Variables firstname.lastname@example.org (Gene Wirchenko) (2007-01-28)|
|From:||Peter Flass <Peter_Flass@Yahoo.com>|
|Date:||26 Oct 2006 00:28:58 -0400|
|Posted-Date:||26 Oct 2006 00:28:58 EDT|
> I don't think that it is a good idea when language definition allows
> you to use variables without declaration.
> First of all, it leads to bugs which is rather hard to find.
I would expect the compiler to issue a message for this, unless
undeclared variables are the norm for this language, as in Rexx. PL/I,
for example, has language-specified defaults and default rules, but all
compilers I know of also warn.
Return to the
Search the comp.compilers archives again.