Re: ESL Master Include File
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 27, 2005
- 564 views
Pete Lomax wrote: > > On Tue, 26 Jul 2005 06:34:22 -0700, Derek Parnell > <guest at RapidEuphoria.com> wrote: > > >If the function 'e()' returned either TRUE or FALSE, then it is wrong to code > >'if e(1,1) then' > </font></i> > Many win32lib functions return w32True or w32False and ARE used in > exactly this manner (eg isTopLevelWindow). Thanks for pointing out these bugs. I'll fix them in due course. > If I see a function returns > TRUE or FALSE, then I WILL assume I can use the result in a condition. Not a safe assumption. > Sure, w32True and w32False are defined correctly, so this is not an > issue in win32lib. > > >Huh? There is just as much error as testing for the wrong return values of > >any function. > There *IS* a much higher potential for the obvious mis-assumption. 'Assumption' strikes again. > >I know its just my inability to explain myself clearly, > >But I fear that I'm too far to the left for most people, > Don't start that nonsense either. What singing fat lady? -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell