April 21, 2009
5:54 p.m.
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 <johnmci@smalltalkconsulting.com> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ========================================================================