%  examples.tex from ObjectProDSP 0.2
%  Copyright (C) 1994 1995, Mountain Math Software, All rights reserved.
%  Licensed for free use and distribution under version 2 of the Gnu General
%  Public License. Please see file COPYING for details and restrictions.
%  
%  ObjectProDSP is a trademark of Mountain Math Software.
%  
\section{\Dpp{} example networks}
\label{Sec:Examples}
\index{examples}

There are several examples to illustrate the \Dpp{}
language and tool. It is easy to add custom examples to your installation
and have these available in the menus. This section describes
the examples menu and the basic examples. Your
installation may have additional examples.

\subsection{Examples menu}
The \DppNm{Help} selection in the main menu and then the \DppNm{examples}
option lead to the examples menu. From this menu you can select
any of the examples described in the following sections. You can
then  select a description of the example, 
execute it or read its \dpp{} code. 

\input{exampmn}

\subsection{Adding new examples}

To add an example to the \Dpp{} menus you create a help file and
place it in directory \DppNm{\$OPD\_ROOT/examp}
and a \dpp{} language file and add it to \DppNm{\$OPD\_ROOT/help}.
The example files must have suffix \DppNm{.xml}. The corresponding
help file must have the same base name and end in
suffix \DppNm{.hlp}. \DppNm{.hlp} are created automatically
from \DppNm{.roff} files in \DppNm{\$OPD\_ROOT/doc/roff}.
See \DppDev{} for instructions for creating help files.
The
examples appear in the menus in alphabetic order with the root of
the file name as the option to select a given example.
