Hi. A global value can be set using the following format:
Var Int = parseInt(getInterval());
setGlobalValue("Variable"+Int, Variable2);
Is there a comparable format to retrieve global values based on different intervals along the lines of:
function preMain() {
var x=0;
fpArray[x] = new FunctionParameter("Int", FunctionParameter.STRING);
with(fpArray[x++]){
setDefault();
}
}
function main(Int) {
var Variable3 = getGlobalValue("Variable"+Int);
}
Thanks.
Mike
Var Int = parseInt(getInterval());
setGlobalValue("Variable"+Int, Variable2);
Is there a comparable format to retrieve global values based on different intervals along the lines of:
function preMain() {
var x=0;
fpArray[x] = new FunctionParameter("Int", FunctionParameter.STRING);
with(fpArray[x++]){
setDefault();
}
}
function main(Int) {
var Variable3 = getGlobalValue("Variable"+Int);
}
Thanks.
Mike
Comment