Making a calculator [HELP]
Author |
Message |
dudeguy
|
Posted: Wed May 28, 2008 3:30 pm Post subject: Making a calculator [HELP] |
|
|
Ok.. I've gotten my basic calculator with a GUI working..
Problem is after I have my number up and I press another one I get the resultant with the last pressed number at the end.
e.g.
5+3 = 8, press 7 and I get 87.
How do I reset this?
P.S. if this is to clarify anything I store this within a variable and just locate and use a put statement
Thanks, |
|
|
|
|
|
Sponsor Sponsor
|
|
|
isaiahk9
|
Posted: Wed May 28, 2008 3:33 pm Post subject: RE:Making a calculator [HELP] |
|
|
You need to reset your variables for numbers back to zero maybe? |
|
|
|
|
|
Sean
|
Posted: Wed May 28, 2008 3:52 pm Post subject: Re: Making a calculator [HELP] |
|
|
Possibly cls the code so that it erases it when they hit the clear button.
We would need to see the code. |
|
|
|
|
|
|
|