HP48G soft menu toggle: How?
|
10-03-2023, 12:42 AM
Post: #25
|
|||
|
|||
RE: HP48G soft menu toggle: How?
(10-02-2023 11:09 PM)johnb Wrote: No, no need to code anything twice. I'm a software engineer and my dictum is "coding anything twice is bad." Any given functionality should have its home in only one place: then if you change it later, it changes everywhere. Strive to make each separate routine or function general purpose -- this helps. The "code only once" precept is also good for figuring out what code should be split out into a subroutine. Of course it makes perfect sense. I thought about this for a minute. I sometimes have trouble (still to this day) with RPL and the no jumping to a specific line number. I have been programming on my DM42 for a couple of years and I forget how I made things work in RPL. I through in a call to the program name after each button was pressed. This refreshes the menu with the least amount of effort. Thank you again. I am going to continue to write a teaching program and then post it up for review and feedback. HP48GX, HP42s and DM42. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)