source command enhancement

Michael Pitoniak <michael_pitoniak-okLH5SSHHyRWk0Htik3J/[email protected]> Wed, 6 Jul 2005 06:40:13 -0400
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <OFA59860FA.2BA1292E-ON85257036.003A6C05-85257036.003AA597@symantec.com>
team,

 it would be nice if the source() command checked for syntax errors in the 
sourced script prior to executing it, as if this is the case the 
Interpreter exits, and the calling  script cannot recover.
i have enhanced the source() command to do this, as several of our scripts 
source others, and if they are sloppy it terminates the calling script.

does this make sense?

thx,

mike