Użytkownik Ed Leafe napisał:
> On Sep 16, 2010, at 5:28 AM, Jacek Kałucki wrote:
>
>
>> Is there a reason to not returning value from dBizobj.scan() method?
>>
>
> Is there a reason for returning a value from dBizobj.scan() method?
>
Lets review current methods of retrieving data from function called from
scan, I can:
- use object property, for seldom used and huge results it's the waste
of resources
- call function with mutable variable as parameter.
Tell me, why instead of calling:
param = []
scan(hasSomeCondition, param)
if param[0]:
do_something...
I can't use much simpler:
if scan(hasSomeCondition):
do_something...
?
--
Regards
Jacek Kałucki
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]