calculator help

AzKhan
12-13-2005, 02:17 PM
hi ive designed a calculator and its working perfectly, the only one problem i have got is i donno how to do the MC, MR, MS and M+ button. i was wondering if sum 1 could help me out on how to do them. thank u

Cipherzero
12-13-2005, 02:40 PM
Memory Recall and Memory Store are the only ones I know... I dont know what MC and M+ mean.

1) Create a variable, name it something related to 'memory'
2) If the user presses MS then evaluate whats in the textbox or whatever and store that to your variable
3) If the user presses MR then put whats in Memore in the textbox.

I believe thats all there is to those.

grahamt
12-13-2005, 03:59 PM
Memory Recall and Memory Store are the only ones I know... I dont know what MC and M+ mean.

1) Create a variable, name it something related to 'memory'
2) If the user presses MS then evaluate whats in the textbox or whatever and store that to your variable
3) If the user presses MR then put whats in Memore in the textbox.


MC is Memory Clear so just set the defined variable to 0.
M+ is Add to memory so just add the value to your variable.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum