Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageHi Adam, You will get faster answers on --- news.softvelocity.com --- newsgroup. -- Best Regards, Earl R Coker ksasales AT machlink DOT com www.kwiksystems.net www.kwiksystems.com www.kwiksystems.net/appshell/index.htm www.kwiksystems.com/clarion.htm (BigTamer(tm) Templates) <adam.labitt@jda.com> wrote in message news:c88b7da2-46ec-4659-b004-6486d251e638@e6g2000prf.googlegroups.com... >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
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.