Hello,

Thanks for the code to Christen Fihl, however, I am a newbie to the 
programming world..I am writting my application in c ,I never seem pascal 
before does this seem like the right way to convert your original code,,or 
am i off big time ..
{
                                case GraphDisplayButton:
                                        {
                                        int i,m,n,y;
                                        double x,r;

                                        for (n = 0, n < 180, n++)
                                        {
                                                x = 4 *n*(180/pi);
                                                r = 0;
                                                for (i = 1, i<3, i++)
                                                {
                                                        m = i*2 - 1;
                                                        r = r + sin(m*x)/m;
                                                }
                                                y = Trunc(50*r);
                                                WinDrawPixel(n,80+y);
                                        }
                                        handled = true;
                                        break;
                                        }


Thank you in advanced for your time and help..

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to