Possibly a newbie question, but I'm trying to put up my EA and time/demo protect it, so begginers don't fry up their account. The demo protection block is already set in place, however I seem to be missing a 1st grader's coding instruction block here :
void checktime()
{
int LastAllowedDate = StrToTime("2013.02.15 23:59:00")
if (TimeCurrent() >= LastAllowedDate)
{ Print("Perioada de demo a expirat " + TimeToStr(LastAllowedDate,TIME_DATE|TIME_SECONDS));
return(1); }
}
And in return and "} - unbalanced parantheses". What could be the problem? Any thoughts?
void checktime()
{
int LastAllowedDate = StrToTime("2013.02.15 23:59:00")
if (TimeCurrent() >= LastAllowedDate)
{ Print("Perioada de demo a expirat " + TimeToStr(LastAllowedDate,TIME_DATE|TIME_SECONDS));
return(1); }
}
And in return and "} - unbalanced parantheses". What could be the problem? Any thoughts?
Please, just slap me around if I'm being silly ...