Nice mods, vince and bplus! Thanks for sharing them!
vince, I had to add color depth to the Screen statement to get yours working, ie:
Screen _NewImage(sw, sh, 32)
Without the ,32 I'd get "illegal function call" in the first circle line: Circle (p, q), 1, _RGB(0, 155, 0)
(Edit) As mentioned in the next two posts:
You have to add the ,32 if you copy/paste the code into the QB64PE IDE in Windows (haven't tried it on Mac or Linux yet, but probably the same for them).
It works without the ,32 if you run the code here in the forum (QBJS).
vince, I had to add color depth to the Screen statement to get yours working, ie:
Screen _NewImage(sw, sh, 32)
Without the ,32 I'd get "illegal function call" in the first circle line: Circle (p, q), 1, _RGB(0, 155, 0)
(Edit) As mentioned in the next two posts:
You have to add the ,32 if you copy/paste the code into the QB64PE IDE in Windows (haven't tried it on Mac or Linux yet, but probably the same for them).
It works without the ,32 if you run the code here in the forum (QBJS).

