The parameter is passed on, not set by you. To do what you want it would be more like
on mouseup pvar if pvar is 3 then do stuff end if end mouseup On Thu, Sep 22, 2016 at 2:11 PM, Roger Eller <[email protected]> wrote: > The script editor won't compile a mouseUp handler with 1 2 or 3 as a > parameter. > > on mouseUp 3 > do stuff > end mouseUp > > I am trying to get a right-click to show a contextual menu on Windows. > > ~Roger > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
