On Thursday, April 22, 2021 at 9:54:14 AM UTC-4, Tom Lake wrote:
> Can anyone tell me how to use the graphics on the fx-CG500 Classpad? I have no idea how to make it use the entire screen (or even if that's possible) or how to change the entire screen to a different color other than white without having to change it line by line. Also, how do you use the PxOn command to set a pixel. I always get a domain error.
OK, I solved the PxlOn problem. PxlOn requires integers as parameters. I was giving it reals.
PxlOn 47.5,92 gives Domain Error
PxlOn 47,92 or
PxlOn 48,92 work OK.
Most languages automatically truncate or round non-integer arguments but not Casio Basic.