Prev | Next | path |
$path%directory%extension%$$
path
command.
%directory%extension%
is a delimiter sequence
directory
to the set of directories that OMhelp
searches for files with
file extension
equal to
extension
.
directory
is not a
complete path specification
,
the path specification is relative to the
directory where the file containing the
root section
is located.
path
commands.
$path/c:\src/.cpp/$$
$path/c:\omwin\function/.mat/$$
adds the directory c:\src
to the search path for input files that have the extension .cpp
,
and the directory c:\omwin\function
to the search path for input files that have the extension .mat
.
The directories are searched in the order that they are specified by
the path
command.
Note that input files are specified by the
contents
, childtable
, and children
commands.
path
command is special in that
it persists for other sections and hence it sets the environment
for the OMhelp.
Both the forward slash /
or the back slash \
can be used as a directory separator character.
For example, the path commands above are equivalent to
$path%c:/src%.cpp%$$
$path%c:/omwin/function%.mat%$$