Meanlatency does not appear to be defined as a value in the script - is this the issue?
No. meanlatency is a built-in property for the <block> element (see the language reference for details). There must be something else going on, probably a syntax error like a missing quote, bracket, etc. somewhere. I recommend you check your script thoroughly for any such oversights.
Also make sure your script actucally contains blocks named 'compatibletest' and 'incompatibletest'. If you have renamed them in any way, that would, of course, also lead to an error.
Finally, please make sure your Inquisit version is up to date. The latest release can be obtained via http://www.millisecond.com/download/.
If the error persists after checking all of the above, please attach your script to this thread (see the 'Options' tab when posting a reply).
Regards,
~Dave