Python Forum
Help adding memory buttons/commands in the calculator
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help adding memory buttons/commands in the calculator
#5
(Mar-04-2021, 06:52 PM)deanhystad Wrote: "Ms : Save number to memory."

What number? Can you point out in your code what number you want to save?

Dean, thanks for trying to help.

It is a calculator. So, I'll press, for example, the buttons 4+4 and = . The result will be 8, right? I want to record the result (whatever it is) to the memory to use later. I'll press the MS button to save the result (8) to memory. Was I clear?

If you try in a real calculator, the MS button save in memory the value that is being shown in the screen and put it back when press M+ (adding) or M- (subtracting). Understand?

Thank you again.
Reply


Messages In This Thread
RE: Help adding memory buttons/commands in the calculator - by joelpub - Mar-04-2021, 07:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Made a discord bot game that uses commands but now trying to add buttons Dmcsdiscord 1 237 Apr-22-2024, 02:27 PM
Last Post: Dmcsdiscord
  Adding markers to Folium map only adding last element. tantony 0 2,146 Oct-16-2019, 03:28 PM
Last Post: tantony
  AttributeError: 'Calculator' object has no attribute 'buttons' Gomez2021 5 6,342 Apr-18-2018, 01:34 AM
Last Post: IAMK
  Buttons or Radio Buttons on Tkinter Treeview draems 0 3,412 Oct-31-2017, 04:06 AM
Last Post: draems

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020