On Jun 30, 2008, at 12:00 , Scott Fortmann-Roe wrote:
Anyone have any suggestions for this?
On Sat, Jun 28, 2008 at 9:21 AM, Scott Fortmann-Roe
<scottfr@gmail.com> wrote:
Hi,
When you run an RBscript, the CompilerError event is executed for
each
error in the program. This is nice, but there is no indication of how
many errors there are so it is hard to trap them all in an elegant
manner. Does anyone have a way to trap all the errors and return them
all at once to an error handling function. So far the only way I can
think of doing something like this is very hackish and would need a
timer. Does anyone have something better?
Also, what is the status of the RuntimeError event. In the latest
version I tried--2008r2--I heard it was supposed to be fixed, but
such
an error caused a ugly Runtime Error to occur in my app.
-Scott
I initialise some arrays as empty, call the Run method, and each time
the CompileError event is called I append the error and line number to
the arrays. When the Run method exists, I check to see if there are
were any errors (and then flag all the error lines in Alex Restrepo's
exceeding brilliant CustomEditField).
Paul Rodman
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|