Hi,
because VBScript is missing autocasting feature if you try to call the easter egg without any integer parameter associated to the argument, the forum returns a VBScript comparison error.
This is what happen if the QS argument is empty
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: ""]'
/includes/global_variables_inc.asp, line XYZ |
and the following example show you what happens with a pure string value
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "foo"]'
/includes/global_variables_inc.asp, line XYZ |
You should force a casting to (int) or (bool). :)
Edited by weppos - 06 August 2007 at 11:21pm