Unfortunately, current version doesn't provide such feature. Version 3.3 will provide LastError method. This new version will be available in a about a week. JAL is still expanding in both directions - in depth and in width by adding more standard programming constructs such as error handling, loops, case statement, etc... and more business functionality for automating various processes. It was started as a simple command line scripting indented to replace and simplify DOS batch jobs. : I would like to use OnErrorResumeNext but also determine if an error occurs : by checking for an error value after statements/functions. VBScript allows : this by checking Err.Number after any statement or function call. Does JAL : have something similar? This inline error handling makes error retry code : much simpler than using OnErrorGoTo. Thank you!
|