(11-16-2022, 10:13 PM)CharlieJV Wrote: Ooooh, that's a good catch. Good sleuthing.
The little I've looked at (in general), syntax highlighting is not a trivial affair.
Sometimes when bored I'll play with the IDE for fun. I use to have a small list of odd IDE behaviors like the REM thing. Just a trivial things, but interesting to me. One I remember is the underscore plays havoc with the IDE correcting. You can put the _ anywhere. It stops the IDE from uppercasing/spacing of keywords. For example, the code below looks horrible, but the IDE accepts it as is and it runs ok. The IDE won't even turn the ? into PRINT.
- Dav
Code: (Select All)
1:::::for t=1to 15 _
:color rnd*15:?t _
:next _
::::sleep 1
4?timer:?0:::: _
:::do:?rnd:loop:::end: