QB64 Phoenix Edition
BASIMAGE - Put image files in BAS code to use with _PUTIMAGE - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1)
+--- Forum: Prolific Programmers (https://staging.qb64phoenix.com/forumdisplay.php?fid=26)
+---- Forum: Dav (https://staging.qb64phoenix.com/forumdisplay.php?fid=34)
+---- Thread: BASIMAGE - Put image files in BAS code to use with _PUTIMAGE (/showthread.php?tid=217)

Pages: 1 2


RE: BASIMAGE - Put image files in BAS code to use with _PUTIMAGE - mnrvovrfc - 07-16-2023

Just as I thought. Backslash then double-quotation mark do not mix one right after the other. (End of Line 53)

In mdijkens' listing the "qb code" thing was smart enough to catch a colon (begin new statement on same line) then apostrophe (start comment) somewhere and then stop the faulty coloring.


RE: BASIMAGE - Put image files in BAS code to use with _PUTIMAGE - a740g - 07-17-2023

Leaving a link for a modified version of @SpriggsySpriggs BIN2INCLUDE if anyone needs it.

QB64-Museum/SpriggsySpriggs/Bin2Include at main · a740g/QB64-Museum (github.com)


RE: BASIMAGE - Put image files in BAS code to use with _PUTIMAGE - SpriggsySpriggs - 07-17-2023

Oh cool!

Hmm.... I'm trying to remember why I had a crap load of random PNGs in my source.......