On May 1, 2005, at 3:30 AM, Jan Schenkel wrote:

I personally prefer the try-throw-catch trinity, as it
makes for cleaner code than indented if-then-else
structures.

If a library errors comes in only the result, then you can do this:

   moveRobot robotName, plan
   get the result
   it it is not empty then throw it

Instant thrown errors.

Dar

--
**********************************************
    DSC (Dar Scott Consulting & Dar's Lab)
    http://www.swcp.com/dsc/
    A Sponsor of RevCon West
**********************************************

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to