The actual warning that Sanity should throw is the missing second EndIf. The statement is legal, just fugly (and definately not good practice).

I'll look at why Sanity missed the missing EndIf. It's possible that I never anticipated that.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D