Posted: 06:45am 25 May 2023 |
Copy link to clipboard |
Print this post |
|
Consider this code:
Text 3*16,7*16,"Looking for SD card...."+P$ On error skip Chdir "DATABASE" If MM.Errno Then P$="[FAILED!]" If CVGA Then TILE 27*2,8,RGB(red),,14,1 FAIL=1 Else P$="[OK]" If CVGA Then TILE 27*2,8,RGB(green),,4,1 EndIf
It will not do the tiles, but if I run the exact same tile command at the prompt, it DOES tile the colour correctly. This used to work in the last FW, but does not in the current firmware. CVGA is simply a flag to tell the code if it is to use colour in the display or not. Currently set to 1.
All the other TILE commands are working, but they are on their own lines. Did this change in the latest firmware?
Specifically, is IF CVGA THEN TILE... kind of syntax no longer allowed or something?
Smoke makes things work. When the smoke gets out, it stops! |