Capture the Trig Function from an Option Menu Button
Roger Guay
irog at mac.com
Sat Dec 8 14:05:13 EST 2012
Hi Jim,
I was trying to directly use the label of an option menu button (with sin, cos and tan as menu items) and combining that with the angle derived in another script. Something like:
put (the label of btn myOptionMenu)&"("&tangle&")"
This result in something like:
Sin(tangle)
And I had trouble figuring out how to evaluate this.
BTW, Your script doesn't work for me. Does it work for you?
Thanks,
Roger
On Dec 8, 2012, at 10:11 AM, Jim Hurley <jhurley0305 at sbcglobal.net> wrote:
> "The sine of " & tAngle*180/pi & " degrees is "
More information about the use-livecode
mailing list