Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QBJS v0.9.0 - Release
#16
(Yesterday, 05:50 AM)bplus Wrote: @dbox Call the fish thing Texting Fish.

That was it! It just needed a _limit to delay the loop around. I think I fixed someone else problem the same! Yikes what a memory.

I cleaned up the code for Sliding Block Puzzle, you can replace that "15 Squares Puzzle" with this, it's way better!
Done.  They've been updated in the samples site:
- https://boxgaming.github.io/qbjs-samples...puzzle.bas
- https://boxgaming.github.io/qbjs-samples...g-fish.bas

Quote:Also I noticed 2 things comparing QBJS code and QB64:
1) str$(number) in QBJS does not leave that space before a positive number as in QB64, so you have to _TRIM$() in QB64 so they look the same in print.
2) the _delay amounts aren't matching up, ie flashing that solved message in QB64 is way faster than in QBJS. had to fiddle to get a compromise.
Yeah I am still into having both codes work as closley to the same way as possible.
Me too!  A major goal of the project is to retain as much compatibility with QB/QB64 as is feasible.
I'll look into these.  I know we addressed a similar spacing issue with PRINT in a previous release.
Reply


Messages In This Thread
QBJS v0.9.0 - Release - by dbox - 01-13-2025, 09:47 PM
RE: QBJS v0.9.0 - Release - by bplus - 01-13-2025, 10:07 PM
RE: QBJS v0.9.0 - Release - by SMcNeill - 01-13-2025, 10:12 PM
RE: QBJS v0.9.0 - Release - by dbox - 01-13-2025, 11:06 PM
RE: QBJS v0.9.0 - Release - by bplus - 01-13-2025, 11:01 PM
RE: QBJS v0.9.0 - Release - by dbox - 01-13-2025, 11:15 PM
RE: QBJS v0.9.0 - Release - by SMcNeill - 01-13-2025, 11:47 PM
RE: QBJS v0.9.0 - Release - by bplus - 01-13-2025, 11:49 PM
RE: QBJS v0.9.0 - Release - by hsiangch_ong - 01-14-2025, 01:09 AM
RE: QBJS v0.9.0 - Release - by vince - 01-14-2025, 01:06 PM
RE: QBJS v0.9.0 - Release - by hsiangch_ong - 01-14-2025, 10:34 PM
RE: QBJS v0.9.0 - Release - by dbox - Yesterday, 12:44 AM
RE: QBJS v0.9.0 - Release - by bplus - Yesterday, 01:52 AM
RE: QBJS v0.9.0 - Release - by dbox - Yesterday, 04:18 AM
RE: QBJS v0.9.0 - Release - by bplus - Yesterday, 05:50 AM
RE: QBJS v0.9.0 - Release - by dbox - Yesterday, 05:03 PM
RE: QBJS v0.9.0 - Release - by grymmjack - Yesterday, 05:11 PM



Users browsing this thread: 3 Guest(s)