Re: win32lib event handling question

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

Pete Lomax wrote:

<snip>

> A suggestion springs to mind:
>
> global type rtnid(object r)
> 	return not equal(r,-1)
> end type
>
> Use that type instead of integer for any local routine_id variable
> definitions, and also in win32lib etc:
>
> global procedure setHandler(integer id, integer flag, rtnid rid)
> ...
> and either force use of removeHandler, or force {-1} rather than  -1
> for the delete feature of setHandler.
>
> Regards,
> Pete
> PS the type above should be part of the new standard library.

I did include this sugestion in http://home.arcor.de/luethje/esl/type.htm

Thanks,
   Juergen

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

Search



Quick Links

User menu

Not signed in.

Misc Menu