[FILES] Section

Syntax

[FILES]

filename
.
.
.

The [FILES] section lists all RTF topic files used to build the Help file. A Help project file must have a [FILES] section.

Parameter

filename

Specifies the full or partial path of a topic file. If a partial path is given, the help compiler uses the directories specified by the ROOT option to construct a full path. If a file is not on the defined path and cannot be found, the compiler reports an error.

Comments

You can use the #include directive in the [FILES] section to specify the topic files indirectly by designating a file that contains a list of the topic files that are to be included in the build.

The #include directive has the following syntax:

#include <filename>

The filename must reside in the Help project directory, or it must include a complete path specification. The Help compiler does not use the INCLUDE environment variable to search for files.

Example

The following example specifies four topic files:

[FILES]
\.\rtftxt\COMMANDS.RTF            ;comment 1
\.\rtftxt\HOWTO.RTF                ;comment 2
\.\rtftxt\KEYS.RTF                    ;comment 3
\.\rtftxt\GLOSSARY.RTF            ;comment 4

The following example uses the #include directive to specify the topic files indirectly:

[FILES]
#include <rtffiles.h>

See Also

ROOT Option