Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1588
Degrees stuff
20/10/2007 @ 13:45 by Nate Weil
going through the manual, I noticed the radian and degree commands. Obviously these have to do with turning degrees, but does that mean you can rotate a square for instance?
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Answer n° 1 -------- 20/10/2007 @ 19:59 by JoeV
visitor
Hello Nate,
These are simply conversion routines that convert one number to another. There are 2*PI radians in 360 degrees.
a=2*pi b=degree(a) print b 'This should print 360.
a=360 b=radian(a) print b 'This should print 2*PI or 6.2831855
Regards, JoeV
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Answer n° 2 -------- 20/10/2007 @ 20:04 by Nate Weil
visitor
ok that all makes sense (I can't get to my palm atm to try it) but can I then use that to make a square rotate on the screen?
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky