Capture the Trig Function from an Option Menu Button

Roger Guay irog at mac.com
Mon Dec 10 13:36:11 EST 2012


Ah yes, I had a vague recollection of this but couldn't quite get it right.

I love it!

Thanks,
Roger


On Dec 10, 2012, at 10:31 AM, Dick Kriesel <dick.kriesel at mail.com> wrote:

> 
> On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote:
> 
>>      get   "put the " & tTrigFunction  & " of " & tAngle &  " into y " 
>>     do it
>> 
> 
> Hi, Jim and Roger.
> 
> If you like more concise code, you can code the above like this:
>    put value( tTrigFunction & "(" & tAngle & ")" ) into y
> 
> -- Dick
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list