![]() | ![]() | ![]() | ![]() | ![]() |
By default the commenting character is ';' if a line begins with this character then it is ignored. If the line contains the character doubled up (as in ;;) then everything after the last occurance of this string is considered to be an inline comment and is removed.
The line comment character can be modified with the LineComment option. You could add ';;' to the end of a line so that an earlier occurance and everything following does not get removed. You can also use the "<?SemiColon>" code if required.
Note that if the line being dropped is in the middle of a set of continued lines then the the line continuation characters at the end (or not at the end) of the dropped line are not ignored.
The easiest way to comment out multiple lines at one time is to use the "#ifdef" command to check for a name that you will ensure never exists such as in the following example:
;--- This is a line comment --- #define Highlight <B>{$Text}</B> ;;Comment here #ifdef xxxx 1st line commented out 2nd line commented out 3rd line commented out #endif
![]() | ![]() | ![]() | ![]() | ![]() |