Read a$ Print a$ WaitKey() Data Chr$(65)
If you run this, it will want to open a blitz3D source file!
I suppose you can't put a command in a data statement. Sadly this kicks my project in the nuts as I need to put Chr$(27) in a string as data statements.
Protean accepts escape character, so I'll see how that goes there. So that's a nother reason why I can't use the Blitz3D IDE.
Yet, incidentally, this doesn't work properly in Blitz3D:
d$ = d$ + "←[160" + Chr$(CSI_set_bkgnd_color) + " " d$ = d$ + "←[161" + Chr$(CSI_set_bkgnd_color) + " " d$ = d$ + "←[162" + Chr$(CSI_set_bkgnd_color) + " " d$ = d$ + "←[163" + Chr$(CSI_set_bkgnd_color) + " " d$ = d$ + "←[164" + Chr$(CSI_set_bkgnd_color) + " " d$ = d$ + "←[165" + Chr$(CSI_set_bkgnd_color) + " " d$ = d$ + "←[166" + Chr$(CSI_set_bkgnd_color) + " "
← is supposed to be the ESC character 27!!! That's a direct copy/paste from Protean!
What is worse is that when I save the bb source file, the ESC character (or the uncanny ←) is translated back into a question mark! I found out while loadling the bb file in notepad.