|
Re: VB6 Calculator
It involves more than the plus button. It involves what surrounds the '+' sign, as well. With typical rules of precedence, 3 * 4 + 2 is not the same thing as 3 * (4 + 2).
You can see that "what you do" with the plus depends on the surroundings, and not just the immediate surroundings (4 and 2).
That's why I recommended you do some research. There's little learning in copying any code I might post. You need to understand why it's written the way it is.
|