3 Default configuration

As shown in the example, the default configuration defines a text parser and tags behaviour. The default text parser loads a text file and split them into pages. The first line of a page defines its reference name, the following lines define its descrition. Pages are separated in the text file by two empty lines. A text file can contain an arbitrary amount of pages. If several files are parsed with the same HelpClass object, they are all stored in the object. Beware that if a page has a reference already used, it will overwrite the old definition.

The default tags bindings are :

3.1 Colors

When a color is needed, it can be specified in one of those two forms :

3.2 Errors

When parsing file, or displaying it, no behaviour is defined in case of errors. Most of the time, the HelpClass object will just stop its process in case of error, however any other unexpected behaviour can occur. Please try and assure to use correct datas.


Donatien Grolaux
Version 1.1.1 (20000613)