For Programmers: Free Programming Magazines  


Home > Archive > Clarion > January 2006 > Re: halt vs. stop vs message









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: halt vs. stop vs message
Nelson Kaye

2006-01-10, 3:56 am

Kurt,

Thanks for the feedback. Am not currently using Logout. If there are
situations which give me no alternative but to terminate the program - it
seems that Halt() may be appropriate. In any event, I plan on logging error
messages.

Nelson
"Kurt Pawlikowski" <kurtt@pinrod.com> wrote in message
news:A921.1136842305.3072@discuss.softvelocity.com...
> Nelson,
>
> With HALT, your program will shut down immediately. With MESSAGE,
> you can offer, or just notify, recovery. If you wrap your transaction in
> a LOGOUT statement, then a failure would simply ROLLBACK and you can
> notify the user that there was a problem without them having to restart
> the application. In any case, I'd keep a local log with the error
> messages in it. That way you don't have to rely on the customer's
> memory... which is not quite as good as the PC's without power... <g>
>
> Regards,
>
> kurtt
>
> Kurt Pawlikowski
> The Pinrod Corporation
> kurtt@pinrod.com
> (773) 284-9500
> http://pinrod.com
>
> Nelson Kaye wrote:
>
from a[color=darkred]
Of[color=darkred]
give[color=darkred]
display[color=darkred]
tells[color=darkred]
as[color=darkred]
a[color=darkred]
vs.[color=darkred]
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com