That link doesn't work Chip.  Can you fix the link and also provide some sample 
code for us to test?
  ----- Original Message ----- 
  From: Chip Orange 
  To: gw-scripting@gwmicro.com 
  Sent: Thursday, August 20, 2009 1:27 PM
  Subject: a "standard" VBScript feature won't work in WE


  Hi GW,

  I wanted to mention a feature of "standard" vbscript, which I can get to work 
in WSH, but which I cannot get to work in a WE script.

  the feature is based around error handling, which seems to be different in 
WE.  you can read about the feature at:

  
http://my.opera.com/Lee_Harvey/blog/2007/04/21/try-catch-finally-in-vbscript-sure

  where it describes a way of implementing a version of "try ... catch ... 
finally" using a VBScript class.

  I can't do it in a WE script however; it simply halts on the line having the 
error.  I'm not using GWToolkit error handling in any way.

  the Try Catch would be especially useful for handling an error anywhere in an 
entire block of code (I know you're thinking it's not worth it for a single 
command).

  thanks.

  Chip






  ------------------------------

  Chip Orange
  Database Administrator
  Florida Public Service Commission

  chip.ora...@psc.state.fl.us
  (850) 413-6314

   (Any opinions expressed are solely those of the author and do not 
necessarily reflect those of the Florida Public Service Commission.)


Reply via email to