Re: Warning messages
When using win32lib, I get a lot of the following warnings:
1) unused parameters self, event and/or params from setHandler
routines. Most of my event handlers now have the line:
if self or event or length(params) then end if -- suppress warnings
2) short circuiting warnings with isChecked(). In this case I recode:
if <some test> and/or isChecked() ..
as:
if isChecked() and/or <some test> ...
I know this is a minor thing and difficult to improve, just food for
thought.
Pete
|
Not Categorized, Please Help
|
|