Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retro-Style Calculator
#3
(11-19-2022, 01:43 AM)PhilOfPerth Wrote:
(11-18-2022, 11:26 PM)CharlieJV Wrote: Note: I've got a few things I need to fix up to make this a QB64-compatible program.

As-is, it is a fun for-the-giggles bit of code to glance at.



EDIT: You'll notice a bit of a mixed bag of choices (like using GOSUB's and SUB's; every BAM program is an opportunity to do sanity checks on as many statements/styles I can squeeze in there without getting too messy.
An interesting conversion project. That keypad raises a chuckle! I see it even copes with divide by zero with a polite message instead of Error!!!

Oops, I never thought of checking for division by zero.  Good catch!

That "infinity" error, pretty sure that's native javascript handling.  Me not liking javascript much, that I like.
Reply


Messages In This Thread
Retro-Style Calculator - by CharlieJV - 11-18-2022, 11:26 PM
RE: Retro-Style Calculator - by PhilOfPerth - 11-19-2022, 01:43 AM
RE: Retro-Style Calculator - by CharlieJV - 11-19-2022, 02:10 AM
RE: Retro-Style Calculator - by CharlieJV - 11-19-2022, 02:16 AM



Users browsing this thread: 1 Guest(s)