Test(): a = -785 b = -808 c = 1 d = false e = 1 Vol = 14
Test(): a = -785 b = -809 c = 1 d = false e = 1 Vol = 14
Caller(): a = -785 b = -809 c = 1 d = null e = 1
Test(): a = -785 b = -810 c = 1 d = false e = 1 Vol = 14
Caller(): a = -785 b = -810 c = 1 d = null e = 1
Test(): a = -785 b = -811 c = 1 d = false e = 1 Vol = 15
Test(): a = -785 b = -812 c = 1 d = false e = 1 Vol = 15
Caller(): a = -785 b = -812 c = 1 d = null e = 1
Test(): a = -785 b = -809 c = 1 d = false e = 1 Vol = 14
Caller(): a = -785 b = -809 c = 1 d = null e = 1
Test(): a = -785 b = -810 c = 1 d = false e = 1 Vol = 14
Caller(): a = -785 b = -810 c = 1 d = null e = 1
Test(): a = -785 b = -811 c = 1 d = false e = 1 Vol = 15
Test(): a = -785 b = -812 c = 1 d = false e = 1 Vol = 15
Caller(): a = -785 b = -812 c = 1 d = null e = 1
A slightly modified version of the code in my previous post about missing NEWBARs produced the above output.
The change to the test prog was to return a "false" value as another member of the array.
See that the caller receives a null instead of a false.
A bug?
PHP Code:
var d = false;
var e = 1;
debugPrint("Test(): " + "a = " + a + " b = " + b + " c = " + c + " d = " + d + " e = " + e + " Vol = " + volume() + "\n");
return new Array(a,b,c,d,e);
PHP Code:
debugPrint("Caller(): a = " + getSeries(ms,0).getValue(0) + " b = " + getSeries(ms,1).getValue(0)
+ " c = " + getSeries(ms,2).getValue(0) + " d = " + getSeries(ms,3).getValue(0)
+ " e = " + getSeries(ms,4).getValue(0) + "\n");
Comment