Prev Next

Getting Started: A Very Simple Section

begin, section, end
simple_example.omh
Example In This Web Site

begin, section, end
The begin command starts a new section and the $end command ends the current section. An OMhelp section is defined as the content between a $begin and $end command. The argument to a section command specifies the title for the current section.

simple_example.omh
Use the editor of your choice to create the file simple_example.omh in the xam directory with the following contents:
 
     $begin simple_example$$
     $section Simple Example$$
     $end
You can also just copy simple_example.omh from the omh/getstarted directory . Once you have done this, you can execute omhelp with example_name equal to simple_example.

Example In This Web Site
You can view the result of making simple_example.omh part of the OMhelp help web site by selecting simple_example .
Input File: omh/getstarted/start_simple.omh