I'm extremely sorry, Light. It works for me now. Actually this is what happened. In your first post in this thread you told me to use:. I thought you just missed the semicolon at the end out of hurry because you have to help so many people. So, I was using semicolon at the end which gave rise to error. By the way, why don't we use semicolon at the end of it? Please tell me. Thanks a lot.Code:#define pi 3.142