What is wrong with BASIC256 1.1.4.0, Windows version? (Documentation Bugs and Problems)

by Jim ⌂ @, Russell, KY, Tuesday, February 17, 2015, 07:39 (768 days ago) @ cub256

MMM.

On the traffic program. You need to change lines 91 and 92 to
x = int(clickx / (cellwidth + margin)) % width
y = int(clicky / (cellheight + margin)) % height

it seems that the modulo operator returns the decimal remainder if the dividend is a decimal number. That probably happened when the stack was rewritten a while ago.


Post the code for 99 bottles here so I can try that out.

Jim


Complete thread:

 RSS Feed of thread

powered by my little forum