Is it possible to set the value of a variable in premain and capture it in main using something like ... (but this doesn't work) I'm not super experienced with EFS
function preMain( ){
var CHFPoint = 7.60;
var EURPoint = 10.00;
var JPYPoint = 8.60;
}
function main(){
FirstC = "CHF";
var CurrentPoint = FirstC+"Point"; //where this picks up the value from premain for CHFPoint
}
function preMain( ){
var CHFPoint = 7.60;
var EURPoint = 10.00;
var JPYPoint = 8.60;
}
function main(){
FirstC = "CHF";
var CurrentPoint = FirstC+"Point"; //where this picks up the value from premain for CHFPoint
}
Comment