Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is my Logic wrong or QB64's ?
#11
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Simple Addition gone wrong Dimster 13 1,429 08-22-2025, 09:00 PM
Last Post: Pete
  What is wrong with this for/next loop Helium5793 6 1,121 04-15-2025, 05:11 PM
Last Post: Kernelpanic
  Either I'm doing MID$( wrong or it has a bug TDarcos 4 800 04-13-2025, 11:14 PM
Last Post: TDarcos
  Ugh. Is my math (and logic) right? CharlieJV 11 2,090 08-29-2023, 12:26 PM
Last Post: bplus
  What am I doing wrong with _FreeImage? PhilOfPerth 4 1,000 02-24-2023, 06:45 AM
Last Post: PhilOfPerth

Forum Jump:


Users browsing this thread: