On 21-Apr-09, at 10:52 AM, John M McIntosh wrote:

>       (evt at: 1) = EventTypeMenu
>               ifTrue: [self processMenuEvent: evt. nil].



Oops that should read

        (evt at: 1) = EventTypeMenu
                ifTrue: [self processMenuEvent: evt. ^nil].


However the first suggestion works because it falls thru to the next  
if block where it does the ^evt but no-one knows how to process.

= 
= 
= 
========================================================================
John M. McIntosh <[email protected]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================




_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to