11-28-2022, 10:04 PM
(11-28-2022, 09:58 PM)mnrvovrfc Wrote: This is nice. I like it. But there's a small problem. It looks like my computer running Linux (Manjaro MATE) doesn't like "SkyBlue", indicates error #5 with your usage of "CLS" and "COLOR" in a loop. I tested a simple program with the special color names, 32-bit color and using those other two color keywords and a print statement revealing red, green, blue registers of "SkyBlue". It ran perfectly which made me scratch my head. In your program I noticed a few "33" instead of "32" for third parameter to "_NEWIMAGE()" but I don't dare speculate what is the source of the problem.
I have to comment out the "CLS" and "COLOR" so it works correctly but with black background for the "list box". Combining the two into one "COLOR" statement didn't do any good neither.
Edited to fix that issue. Problem was a stray _DEST going back to SCREEN 0 before exiting the function. My apologies.