For more information... RTFM!

You are not logged in

Powered by Interchange version 5.7.0


Specify whether to treat "#" as a comment when combined with C-preprocessor-style directives.


ConfigParseComments  No

This is a Yes or No directive.  The default is Yes.


This directive is only available for use in the global (interchange.cfg) configuration file, and will affect all websites running under the Interchange installation.  It will not work in a website's local (catalog.cfg) configuration file. 

Obsolete directive

Obsolete directive

As of version 5.5, this directive is obsolete, and is therefore no longer available.  Using this directive will result in a warning.  The default, from version 5.5 onwards, is to treat all lines that start with a # character as comments.


Set to No if you want old-style "#include", "#ifdef" and "#ifndef to be treated as directives, rather than as comments.  The default is Yes, which means both "#include" and "include" are treated the same.  Use a space after the "#" if you really want to comment out the directive.

Prior to version 4.7, Interchange used a different syntax for the "include", "ifdef" and "ifndef" meta-directives in configuration files.  The commands were borrowed from the C preprocessor and, true to their "C" heritage, they started with a "#" character.

Interchange configuration files, unlike "C", uses '#' to begin one-line comments.  This meant that a newcomer at first glance might assume that the following two lines are both comments, whereas the second line was intended to be a live "#include" directive:

#Variable  DEBUG  1
#include   more.cfg

To begin to make things more consistent, Interchange 4.7 through 5.4 recognised those meta-directives without the leading '#', and the included Standard demo sets this directive to No so that lines beginning with "#" really were skipped as comments, regardless of what else was on the same line.

Categories:  Global config directives | Obsolete config directives
Last modified by: Kevin Walsh
Modification date: Sunday 2 July 2006 at 5:07 PM (BST)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us