#90 Undef vars not detected in if statement

open
nobody
Parsing (77)
5
2002-12-07
2002-12-07
No

If an undefined variable is used in an "if" statement,
no error is produced:

if (undefinedvar != null) {
print("This is a bogus result");
}

This should throw an exception instead.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks