Jump to content

Recommended Posts

Posted

Here is the cure for the cond problem. I never full tested the code "chinadave" sent since I don't have an excludes at the moment. He had some when they should have been [j]. Makes me wonder if he even tested his own 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;
}
}

Download new check.js file here:

Post here is works, or if not.


Posted (edited)

:no:

Starting WPI:

JavaScript Error Report

Message: Object expected

URL: file://X:/HFSLIPENG/SOURCE/WPI/WPI.hta

File: check.js

Function: CountCheck()

Line: 667

Note: None of my programs appeared in WPI, even though they are still listed in my config.js :huh:

After clicking the error message away and clicking on the config button:

Message: 'configList[...].prog' is null or not an object

Url:file:///X:/HFSLIPENG/SOURCE/WPI/WPI.hta

File:configwizard.js

Function: FillInConfig()

Line:174

By the way:

Cat is a variable... did you read what I wrote about the variable: perhaps the software reads catch as the variable Cat with the suffix ch.

Edited by Dislocated Time
Posted

cat as a variable is not a problem; it has been there since the day WPI was written.

I don't know what else you could have done, your config entries work on my computer with the above new code.

Posted

It very well could be. Computers at my work have difficulty with WPI, old ones and new ones, different errors, different times......

  • 2 weeks later...
  • 2 weeks later...
  • 4 weeks later...
Posted

I actually ended up taking the new addition back out. It is redundant because it is also done in boxes.js.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...