The Interactive Geometry Software Cinderella

Forum: Cinderella Support (E)

Forums->Cinderella Support (E)->Re: A matter of degree ...->Aw: Re: Re: A matter of degree ...

Aw: Re: Re: A matter of degree ...


Tide,

the problem with the degree sign is that it is just not available on US keyboards, as opposed to the German keyboards we are using here, where it is just next to the "1" key. Because we learned that during the Cinderella beta (thanks to our testers!!), we introduced a very nice (IMHO) shortcut for the Inspector fields that use degrees.

If the "use intelligent attributes" checkbox (in the inspector) is checked, then you can just omit the degree sign (in inspector fields), and Cinderella will figure out whether it is needed or not.

However, you are talking about the CindyScript editor. There this does not work, unfortunately, but you can always just write a helper function, for example:

deg(x):=x*pi/180;


or even

deg(x):=x°;


Does this help?

Ulli

 
on: Sun 05 of Nov, 2006 [21:49 UTC] reads: 8198

Show posts:
 
Language