Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clarion > Overwriting / R...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 9078 of 9097
Post > Topic >>

Overwriting / Replacing the Clarion ErrorCode() Function

by adam.labitt@[EMAIL PROTECTED] Apr 2, 2008 at 04:01 PM

I would like to replace the standard Clarion ErrorCode function with
one of my own design.  The new function would reference the original
ErrorCode function as well as other error functions like
FileErrorCode().  Using this approach will allow me to trap all the
errors posted without having to have to change all of the nearly
countless calls to the ErrorCode function.

I am working with Clarion 5.0.

We have in the past successfully overwritten other standard Clarion
functions such as Yeild(), Stop(), etc.  Unfortunately, it appears
that ErrorCode does not follow the same rules as these other
functions.

For all of the other functions, prototype information can be found in
the builtins.clw file found in the Clarion5EE\libsrc directory.
However, ErrorCode is not listed there.

In my research, I came across a function named ErrCode().  I suspect
that this is the name Clarion uses under the covers when Running
ErrorCode.  However, I have been unable to find a place where
ErrorCode is associated with ErrCode.

Does anyone have any suggestions regarding overriding the ErrorCode()
function?

Thanks




 2 Posts in Topic:
Overwriting / Replacing the Clarion ErrorCode() Function
adam.labitt@[EMAIL PROTEC  2008-04-02 16:01:39 
Re: Overwriting / Replacing the Clarion ErrorCode() Function
"Earl R Coker"   2008-04-02 18:21:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 14:54:11 CDT 2008.