2 ms·
Another way to fix the bug would've been INT(RND(1) * 15 + .5) which is equivalent to rounding to the nearest integer* instead of truncating. *If positive,
by smitherfield 9y ago
Another way to fix the bug would've been
INT(RND(1) * 15 + .5)
which is equivalent to rounding to the nearest integer* instead of truncating.
*If positive, which RND's return value must be.
- rzzzt 9y agoThe labyrinth-printing example for the C64 also uses this: https://10print.org/ https://10print.org/