11-16-2022, 10:13 PM
(11-16-2022, 10:03 PM)Dav Wrote: I always use a ' instead of REM, but a funny thing I noticed playing with REM is that if you add a colon after a REM, followed by code on the same line, the IDE thinks it's code and syntax colors it accordingly, but the code on the line is ignored and not run.
REM: SLEEP 'it's really in rem sleep, lol
or REM: PRINT "FFF" 'the print syntax code is colored, but not run.
- Dav
Ooooh, that's a good catch. Good sleuthing.
The little I've looked at (in general), syntax highlighting is not a trivial affair.