I think that the first things you need to understand are that: 1. SIGNAL ON ERROR and SIGNAL ON FAILURE apply to non-zero host command return codes ONLY. 2. SIGNAL ON SYNTAX can be used to trap invalid REXX statements not caught by the interpreter/compiler scan. This includes things like division by zero, invalid BIF args (e.g. word(x, y) where y < 0), and invalid interpret targets.
Note that these two error sets are mutually exclusive, except if SIGNAL ERROR (e.g.) is executed explicitly. I haven't used ooDialog, so I can't answer your specific question, but I'm fairly sure that it does not use host commands. Therefore you should not even consider SIGNAL ON ERROR or SIGNAL ON FAILURE to trap ooDialog errors. I hope this helps. On Mon, Dec 31, 2012 at 5:31 PM, Art Heimsoth <artst...@artheimsoth.com>wrote: > What is the best way to intercept the major errors when using ooDialog? > I have tried the signal on ERROR and signal on FAILURE, with the name label > in my method within the main class that does the cleanup, but that does not > seem to work in that if the signal is raised, the label is not found, but > for > several errors, the signal is not raised either - or I have the signal > statement > in the incorrect place. I have it located at the beginning of the > InitDialog > method. > > -- > Art Heimsoth - artst...@artheimsoth.com > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Oorexx-users mailing list > Oorexx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-users > -- OREXXMan
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users