Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > calculator help


Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2005, 02:17 PM
AzKhan AzKhan is offline
Newcomer
 
Join Date: Oct 2005
Posts: 9
Default calculator help


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
Reply With Quote
  #2  
Old 12-13-2005, 02:40 PM
Cipherzero's Avatar
Cipherzero Cipherzero is offline
Junior Contributor
 
Join Date: Nov 2004
Posts: 258
Default

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.
Reply With Quote
  #3  
Old 12-13-2005, 03:59 PM
grahamt grahamt is offline
Junior Contributor
 
Join Date: Feb 2005
Posts: 247
Default

Quote:
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->