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

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


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.


Complete thread:

 RSS Feed of thread

powered by my little forum