Navigation:  More Advanced Procedures >

Using Variables

Print this Topic Previous pageReturn to chapter overviewNext page

Variables are used to insert text that may change in your output when you compile your project. They are ideal for things like program names and version numbers – to update you then just need to edit the variable definition and recompile. Predefined variables make it easy to insert things like the current date, the title of your help project and so on.

Variables have no effective length limit you are unlikely to be able to enter more than 2 gigabytes of text in the variable definition fields. User-defined variables can contain either plain text or HTML code this allows you to use variables to insert HTML code in your topics. Help & Manual supports both a wide selection of predefined variables and user-defined variables.

You can set different values for variables in individual topics and redefine some or all of your variables with a list of values stored in an external text file when you publish your project.

 

Using variables

 

See also:

Variables in HTML templates

Variables and Conditional Output (Reference)

 


Page url: http://www.helpandmanual.com/help/index.html?hm_working_variables.htm