Re: error mess ??
- Posted by Robert Craig <rds at ATTCANADA.NET> Sep 11, 1999
- 467 views
Bernie Ryan writes: > In order to avoid the warning I either have to write > 2 seperate if statements ( more code ) or I have to > set without warning on ( which I consider a poor practice ) Warnings can be turned on or off for individual include files, or even for individual routines. You are not forced to choose either on or off for the whole program. In your case you could say: without warning procedure x() if foo() = 42 or foo() != xyz then ... end procedure with warning Also, "without warning" at the top of an include file will only turn off warnings for that one file. When the end of the include file is reached, the warning setting is restored to what it originally was. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com