CODE
if (cond[j] && cond[j][0])
{
var c = unescape(ReplacePath(cond[j][0]).replace(/\\/g, "[url=""]\\\\[/url]"));
try
{
if (!eval(c))
continue;
}
catch(e)
{
alert(getText(ErrorInCondStatement)+"\n\n" + prog[j] + "\n" + cond[j] + "\n\n"+getText(TreatingAsFalseCond));
continue;
}
}
{
var c = unescape(ReplacePath(cond[j][0]).replace(/\\/g, "[url=""]\\\\[/url]"));
try
{
if (!eval(c))
continue;
}
catch(e)
{
alert(getText(ErrorInCondStatement)+"\n\n" + prog[j] + "\n" + cond[j] + "\n\n"+getText(TreatingAsFalseCond));
continue;
}
}
Download new check.js file here: Click to view attachment
Post here is works, or if not.
