specific color codes for different types of code (1 Viewer)

isladogs

CID VIP
Local time
Today, 13:47
Joined
Jan 14, 2017
Messages
14,974
Tera, that doesn't explain the debug.print coloration very well. But since I am retired and have neither the need nor the interest, I won't worry too much about it.

Actually Doc, Tera explained it perfectly.
The previous line starts with a ' so is red.
The Debug line starts with a ' so reverts to blue apart from Print which is in green as its a keyword.

Thanks for explaining it Tera ... but what triggers orange colouring?
 

vba_php

Forum Troll
Local time
Today, 07:47
Joined
Oct 6, 2019
Messages
2,884
this is a test for comment colors in PHP and javascript using PHP tags:
PHP:
//this is a single line comment in PHP
PHP:
/* this is a block of comments in PHP but it doesn't seem to be recognizing carriage returns*/
PHP:
//this is a single line comment in javascript
PHP:
<!-- this is a single line and block comment in javascript -->
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 07:47
Joined
Feb 28, 2001
Messages
20,242
Ah, I see. It is based on syntax, not semantics. That is the only way to explain this:

PHP:
'Close the report if already open: otherwise it won't filter properly.
 

Users who are viewing this thread

Top Bottom