#255 Undefined variable gets printed as void

open
nobody
General (151)
5
2006-03-14
2006-03-14
No

Assume that we have an undefined variable x

bsh % System.out.println(x);
// Error: EvalError: Undefined argument: x : at Line:
1 : in file: <unknown file> : ( x )

But if we print out this variable with another string:

bsh % System.out.println(x+" test string");
void test string

An undefined variable should not be printed as void.

Discussion


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks