Vlau: Once again you have solved my problem. Thanks. That works.
But I have about a hundred instances where the year is a condition in my strategy codes. I hope I can find a way to avoid adding every function to the Year_startup function.
As to your other suggestion, there is something screwy with the engine when it comes to time. Try this function and you'll see what I mean.
Code:
var week = -60;
fps_max = 60;
function time_check()
{
wait(week);
wait(week);
wait(week);
wait(week); //4 minutes elapse
beep();
wait(week*4); // 65 seconds elapse
beep();
}
I had to use this workaround in the Lost Dutchman with A5 and it wasn't cured in A6. I don't know about A7.