Re: Calling Func/Proc

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

Robert Craig wrote:
> 
> c.k.lester wrote:
> > The reason I need it is primarily for error handling/messaging and
> > debugging.
> Have you considered using crash_routine()?

Well, I should have written, "error handling, messaging, and debugging."

That is, I gather up a bunch of messages to display on the page. They could
be standard messages like, "The operation was completed." The err() messages
are usually something like, "Could not find that record." Crash messages
aren't part of this vision, but you're right that I should redirect on a
crash. :)

I often write these things to a log, as well.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu