Re: Warning messages

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu