I have this EFS:
The output window shows 1,2,3 (as expected) when loaded.
However, if I edit the study properties and in the Value field for the p1 param I type 1,2,3 then the output window shows 123. i.e. comas missing.
Any ideas anyone?
PHP Code:
function preMain() {
_init = true;
var x=0;
aFPArray[x] = new FunctionParameter( "p1", FunctionParameter.STRING);
with( aFPArray[x++] ) {
setDefault( "1,2,3" );
}
}
var aFPArray = new Array();
var _init;
function main(p1) {
if(_init) {
debugPrintln(p1);
_init = false;
}
return;
}
However, if I edit the study properties and in the Value field for the p1 param I type 1,2,3 then the output window shows 123. i.e. comas missing.
Any ideas anyone?
Comment