Hi Roger, nothing really to understand. Sorry for the parentheses around sOption. They are not necessary. I was playing around with the code until I saw that you write to the message box twice. once in the "do it" part and second in the "put cr & it&& the result after message" part.
at the end you only see the second time because the first time was erased by the second part. Kind regards Bernd RogGuay wrote > Thank you, Bernd. Seems to work. Now to understand. > > Cheers, > Roger > > > On Dec 7, 2012, at 4:05 PM, BNig < > niggemann@ > > wrote: > >> on otherHandler theta >> get "put the" && (sOption) && "of" && theta >> do it >> put cr & it&& the result after message >> end otherHandler -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Capture-the-Trig-Function-from-an-Option-Menu-Button-tp4657927p4657939.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode