Capture the Trig Function from an Option Menu Button

Roger Guay irog at mac.com
Sat Dec 8 19:26:42 EST 2012



On Dec 8, 2012, at 11:25 AM, Jim Hurley <jhurley0305 at sbcglobal.net> wrote:

> I put my script into a separate button. I think yours was in the Option button.

I did exactly as you did, i.e. put your script into a separate button, created 2 fields, 1 and 2
> 
> 
snip snip

> You should get a field 2 that locks like this, if the angle is 45 degrees::
> 
> The sine of 45 degrees  is 0.707107

I put 45 into fld 1 and get nothing in fld 2. I wonder why your's works and mine doesn't???

> Is that the results you wanted?

Yes, that is the result I wanted.

> 
> Jim





More information about the use-livecode mailing list