NumTrainCycles = 2; if(TrainCycle == 1){ StartDate = 2018; EndDate = 2020; set(RULES); }else if(TrainCycle == 2){ StartDate = 2020; EndDate = 2020; set(PARAMETERS); }