hi there..
Your problem is that you are not getting the error routine called because you are not even executing your program!
your error is not at runtime (that's where it use the error routine), but on compilation, so it's trapped by the compiler and showed to you...
the error you are receiving is the same that you want to receive at runtime, but it throwed by the IDE...
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========