QB64 Phoenix Edition
Curious if I am thinking about this right. - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: Curious if I am thinking about this right. (/showthread.php?tid=3395)

Pages: 1 2 3 4


RE: Curious if I am thinking about this right. - Jack002 - 01-22-2025

There's an elephant in the room

Allow me to illuminate it Rolleyes

The first post (yes, we diverged from it pretty far now) shows a good program that will convert MM to IN or IN to MM,

HOWEVER, I must insist that the user may have a THIRD idea in mind. That is to quit, to end, to return to life before metric conversions.

I would humbly suggest to redo the first post code with a DO LOOP, an input of something like

What would you like to do?
1. Convert MM to in

2. Convert in to MM
3. Quit

Then LOOP until the item chosen was 3.

My 2c. After taxes
Jack


RE: Curious if I am thinking about this right. - SMcNeill - 01-22-2025

(01-22-2025, 04:19 AM)Jack002 Wrote: There's an elephant in the room

Allow me to illuminate it Rolleyes

The first post (yes, we diverged from it pretty far now) shows a good program that will convert MM to IN or IN to MM,

HOWEVER, I must insist that the user may have a THIRD idea in mind. That is to quit, to end, to return to life before metric conversions.

I would humbly suggest to redo the first post code with a DO LOOP, an input of something like

What would you like to do?
1. Convert MM to in

2. Convert in to MM
3. Quit

Then LOOP until the item chosen was 3.

My 2c. After taxes
Jack

That's what I mentioned doing here: https://qb64phoenix.com/forum/showthread.php?tid=3395&pid=31418#pid31418

Only difference is I just ran a loop until the end value was 0 for conversion.  Wink


RE: Curious if I am thinking about this right. - bplus - 01-22-2025

That's not an elephant that is a pig, just getting greedy for more Big Grin

I agree it is an obvious mod to make.