Your run function will execute every bar. In this case, every minute. My understanding is that Block A will only execute every 60th bar, while Block B will run every bar. I don't think you need to split different time frames into different functions, but I don't see why you couldn't. If you really wanted to, you could do something like:

function run()
{
BarPeriod = 1;
TimeFrame = 60;
myfunction1();
TimeFrame = 1;
myfunction2();
}