Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Overwriting / Replacing the Clarion ErrorCode() Function
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

Report this thread to moderator Post Follow-up to this message
Old Post
adam.labitt@jda.com
04-03-08 12:00 AM


Re: Overwriting / Replacing the Clarion ErrorCode() Function
Hi 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



Report this thread to moderator Post Follow-up to this message
Old Post
Earl R Coker
04-03-08 12:00 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:23 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.