I imagine it is also a case of how to avoid GOTOs in the simplest manner. The problem with my method of LOOPing on @Error is that in the real world, @Error may happen at unexpected times and for unexpected reasons. Take MessageBox(), for instance. The post over at
http://www.scriptlogic.com/forums/display_message.asp?mid=8877 demonstrates how a successful MessageBox() throws @Error.

Code:

$rc = Messagebox("Hello World","testing...")
$rc = Messagebox("@@Error = "+@error,"testing...")



BTW, I think that Ruud should fix that.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.