Board index » delphi » Turn warnings off?
Alastair Dadachanj
![]() Delphi Developer |
Fri, 08 Feb 2002 03:00:00 GMT
|
Alastair Dadachanj
![]() Delphi Developer |
Fri, 08 Feb 2002 03:00:00 GMT
Turn warnings off?
hi there does anyone know how to stop a program from showing error messages?
somthing like "warnings := false;" perhaps? thanks Alast...@protimeter.com |
Michael Winte
![]() Delphi Developer |
Fri, 08 Feb 2002 03:00:00 GMT
Re:Turn warnings off?Alastair Dadachanji schrieb: Quote> hi there does anyone know how to stop a program from showing error messages? Michael |
Ray Lischn
![]() Delphi Developer |
Fri, 08 Feb 2002 03:00:00 GMT
Re:Turn warnings off?On Mon, 23 Aug 1999 14:54:41 +0100, "Alastair Dadachanji" Quote<Alast...@Protimeter.com> wrote: -- Ray Lischner (http://www.tempest-sw.com/) Author of "Hidden Paths of Delphi 3: Experts, Wizards, and the Open Tools API" |
Paris Bleiche
![]() Delphi Developer |
Fri, 08 Feb 2002 03:00:00 GMT
Re:Turn warnings off?you may want to consider looking into thje "ABORT" procedure --- procedure Abort; Use Abort to escape from an execution path without reporting an error. --- QuoteAlastair Dadachanji wrote: |
AlanGLLo
![]() Delphi Developer |
Wed, 13 Feb 2002 03:00:00 GMT
Re:Turn warnings off?In article <37c67ab3.676517...@news.proaxis.com>, Quotelisch.at.tempest-sw....@nojunkmail.com (Ray Lischner) writes: real programming guru <gg> After such insight, I really must reconnect my car's oil warning light. Alan Lloyd |
David C. Ullric
![]() Delphi Developer |
Fri, 15 Feb 2002 03:00:00 GMT
Re:Turn warnings off?QuoteAlanGLLoyd wrote: "professional" programmers out there think otherwise. I don't recall the name (that's a lie, btw) but I recall some time ago Saying "fix the code instead" _should_ be a silly answer. But Quote> After such insight, I really must reconnect my car's oil warning light. |
Alastair Dadachanj
![]() Delphi Developer |
Sat, 16 Feb 2002 03:00:00 GMT
Re:Turn warnings off?You obviosly are a little short sighted, an error can be a posative result, there are ways to use everything to your advantage, in my case i'm waiting for there error, to give me useful information, but the user does not need to see the error.... Quote> >My preferred technique is to fix the code that causes the warning. Alastair |
Alastair Dadachanj
![]() Delphi Developer |
Sat, 16 Feb 2002 03:00:00 GMT
Re:Turn warnings off?Thanks Paris, this looks like what i need.... Regards Alastair QuoteParis Bleicher wrote in message <37C18621.C85D6...@afstrade.com>... |
David C. Ullric
![]() Delphi Developer |
Sat, 16 Feb 2002 03:00:00 GMT
Re:Turn warnings off?QuoteAlastair Dadachanji wrote: Quote> an error can be a posative result, be a posative result? Quote> there are ways to use everything to your advantage, in my case i'm waiting how Abort is going to allow you to find out about an error without showing it to the user - I doubt that I'll follow the explanation, being short-sighted and all.) Quote> > >My preferred technique is to fix the code that causes the warning. |
Alastair Dadachanj
![]() Delphi Developer |
Sun, 17 Feb 2002 03:00:00 GMT
Re:Turn warnings off?ok, cheers for the advice, but i thought you where saying how fixing the codes that causes the warnings is the best way to do things. But exception handlers are there to accept the warnings, "handle" them, and therefore use them. and so errors can be used to help... Dis' is what I is sayin'! QuoteDavid C. Ullrich wrote in message <37CC13C1.2CE1F...@math.okstate.edu>... |
David C. Ullric
![]() Delphi Developer |
Sun, 17 Feb 2002 03:00:00 GMT
Re:Turn warnings off?QuoteAlastair Dadachanji wrote: nothing to do with warnings. Evidently you meant to be asking about how to hide exceptions from the "Dis" indeed... You obviously haven't even glanced at the docs on exceptions if Quote> David C. Ullrich wrote in message <37CC13C1.2CE1F...@math.okstate.edu>... |
Bruce Robert
![]() Delphi Developer |
Sun, 17 Feb 2002 03:00:00 GMT
Re:Turn warnings off?An exception handler will NEVER NEVER NEVER NEVER trap a warning. QuoteAlastair Dadachanji <Alast...@Protimeter.com> wrote in message Quote> ok, cheers for the advice, |
Martin Harve
![]() Delphi Developer |
Sun, 17 Feb 2002 03:00:00 GMT
Re:Turn warnings off?Quote"David C. Ullrich" wrote: Alastair: Rule #1 of posting to newsgroups: Don't slate the regulars. MH. -- |
Alastair Dadachanj
![]() Delphi Developer |
Mon, 18 Feb 2002 03:00:00 GMT
Re:Turn warnings off?hey! buddy! i ain't slating the regs. i was defending the guys who where helpin' me, who dave had a go at. regards. |
Alastair Dadachanj
![]() Delphi Developer |
Mon, 18 Feb 2002 03:00:00 GMT
Re:Turn warnings off?Well i'm glad you all see it my way.... ps warning being the warning or exception message that the user see's |