QB64 Phoenix Edition
Is my Logic wrong or QB64's ? - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: Is my Logic wrong or QB64's ? (/showthread.php?tid=2098)

Pages: 1 2


RE: Is my Logic wrong or QB64's ? - James D Jarvis - 10-15-2023

(10-15-2023, 04:56 PM)bplus Wrote: You can avoid border IF checking by allowing x, y to go only as close as 1 pixels away from border (but what does a screen return for a point outside it's border?)

Funny!
Case 3 : Pset(sx, sy), klr  ' no if's, ands, or buts!!!

Hey maybe your Pixel Life isn't exactly by Conway's Life Rules but it sure is pretty!

Thanks for spotting that case 3 mess up.

As for what a screen returns for a point outside it's border it's -1 as opposed to the whole value for a color.