Ah, caught me forgetting to look it up directly on MSDN.  My
"undocumented" claim was based on three books (including Jamal's) on
VBScript, and on the fact that Script Central currently seems to
contain no examples of this sort of practice.  I believe Jamal's
indirectly does mention the <errorSource> parameter at least, but none
after that.  I was thus concerned that old VBScript implementations
might not support this.  IE 7 should be old enough for most, but IE 6
still exists out there.  (I assume but have not tried verifying that
VBScript versions tend to go hand in hand with IE versions these
days.)

On Tue, Nov 10, 2009 at 01:16:24PM -0500, Ron Parker wrote:
Doug Lee wrote:
>Apparently undocumented syntax: err.raise <errorNumber>[, <errorSource>[, 
><errorDescription>]]
>  

Not undocumented. And there are two more parameters you can pass, as well:

http://msdn.microsoft.com/en-us/library/h1hea41c%28VS.85%29.aspx


-- 
Doug Lee, Senior Accessibility Programmer
SSB BART Group - Accessibility-on-Demand
mailto:[email protected]  http://www.ssbbartgroup.com
"While they were saying among themselves it cannot be done,
it was done." --Helen Keller

Reply via email to