i have the following simple code for an OnTimer() function:
int bla=FileOpen("last.txt",FILE_READ|FILE_CSV," ");
Alert("Problem reading file");
Alert("last.txt?, Got it! ",TimeToString(time_stamp)," and ",TimeToString(FileGetInteger(bla,FILE_MODIFY_DATE)));
Timer said is set for 30s and every 30s i get 2 Alerts with said text above
2 !!! how weird is that?? Sometimes they are 2s apart, but mostly they have exactly the same time-stap (not to be confused with time_stamp in code)
any ideas? i'm baffled...
Never mind - i solved it.And yes... it was a stupid mistake.
To add comments, please log in or register