All help appreciated. When I use the AskForInput statement in Pre-main, the EFS does a run through Main first, then backtracks to the Pre-main.
var fp9 = new FunctionParameter("sFilenme", FunctionParameter.STRING);
fp9.setName("File name (junk)");
fp9.setDefault("junk");
askForInput();
//End PreMain
}
function main(nMaval,nMavaj,nMavat,nMavad,Busema,nLookback, nTakeprofitP,nTakeprofitD,sFilenme)
{
This causes the file open procedure to create a file called "junk" from within the Main, then create a second file from the Pre-main using whatever I input as file name.
What am I doing wrong?
Cheers, and merry Xmas to you all.
Mervk
var fp9 = new FunctionParameter("sFilenme", FunctionParameter.STRING);
fp9.setName("File name (junk)");
fp9.setDefault("junk");
askForInput();
//End PreMain
}
function main(nMaval,nMavaj,nMavat,nMavad,Busema,nLookback, nTakeprofitP,nTakeprofitD,sFilenme)
{
This causes the file open procedure to create a file called "junk" from within the Main, then create a second file from the Pre-main using whatever I input as file name.
What am I doing wrong?
Cheers, and merry Xmas to you all.
Mervk
Comment