Re: Calling Func/Proc

new topic     » goto parent     » topic index » view thread      » older message » newer message

c.k.lester wrote:
> 

> Hey, Bernie,
> 
> Yeah, that would work. The problem is the huge hit in performance I expect
> would occur. Plus, I would have to add a line of code to each and every
> routine that, at least now, contains a call to err().

Hi CK:

I think you should take a new look at your code because I

think you are confusing when you should be performing error

checking and when you should be performing debugging.

Debugging should only be necessary when your code is causing

errors and should be turned on/off only when it's need to find bugs.

User input errors should be the only things you are checking

when the code has been debugged.

You need to be able to shut off the debug phase when its not needed

that way you will not have any performance hit.

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu