Print Page | Close Window

Easter egg VBScript error

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24089
Printed Date: 07 April 2026 at 2:29am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Easter egg VBScript error
Posted By: weppos
Subject: Easter egg VBScript error
Date Posted: 06 August 2007 at 11:16pm
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). :)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net