QB64 Phoenix Edition
Cog Stuff - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1)
+--- Forum: QBJS, BAM, and Other BASICs (https://staging.qb64phoenix.com/forumdisplay.php?fid=50)
+--- Thread: Cog Stuff (/showthread.php?tid=1504)



Cog Stuff - CharlieJV - 02-25-2023

Source code below running program.




RE: Cog Stuff - PhilOfPerth - 02-25-2023

Interesting!
Works in Qb64 when [ and ] changed to ( and )


RE: Cog Stuff - CharlieJV - 02-25-2023

(02-25-2023, 10:41 PM)PhilOfPerth Wrote: Interesting!
Works in Qb64 when [ and ] changed to ( and )

Yeah, pretty easy to some QB64 programs and get them working as-is in BAM.

A little bit of a pain to take BAM programs and bring them over QB64 when one is using BAM things that don't are available in QB64.

That's something I try to avoid.  However, man oh man, them square brackets, they help me see pieces of certain things so much easier.


RE: Cog Stuff - CharlieJV - 02-25-2023

Added the spinning cogs program to the OP.


RE: Cog Stuff - bplus - 02-25-2023

Ah! you got the spinners working too! You didn't need the flattened out ones then, nice job!


RE: Cog Stuff - PhilOfPerth - 02-26-2023

(02-25-2023, 11:36 PM)CharlieJV Wrote:
(02-25-2023, 10:41 PM)PhilOfPerth Wrote: Interesting!
Works in Qb64 when [ and ] changed to ( and )

Yeah, pretty easy to some QB64 programs and get them working as-is in BAM.

A little bit of a pain to take BAM programs and bring them over QB64 when one is using BAM things that don't are available in QB64.

That's something I try to avoid.  However, man oh man, them square brackets, they help me see pieces of certain things so much easier.

Yes, they do help make things clearer. I usually just space out my formulae to help with clarity, but sometimes I use them while coding, then
use Find and Replace All to change them all. Pity square brackets is not an option though. Sad


RE: Cog Stuff - CharlieJV - 02-26-2023

Added "Spinny Sprouty Thing" to the OP.