![]() We do this on the screen OnVisible, and also on the Clear button's OnSelect: UpdateContext() We start by setting all variables to their initial values. Helps take care of entering numbers with decimal points _decimal: current number of decimal places.For example, when computing 1 + 2 = ?, _operand corresponds to the number "2". _operand: the number to the right of the current operation.It can also be "#", representing number entry when no operations have been applied yet. Can be "+", "-", "*", "/" representing the four basic mathematical operations. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |