I read about a coding style where not one variable is changed. Everything must stay constant. I don't remember what it's called, but it's the bomb. I never realized this little project would be so easy.

Here is a 98 line calculator that supports ()^*/+-. If you find a bug, please don't hesitate to comment. It doesn't handle invalid input well and forgets to loop, keeping the code short. You'll get a bunch of debug output and the result should be after RESULT.

Now to the main question: Did I do this right?

Other questions: Could anything be better? Is there anything wrong with it?