% C++ Parameter: a type and a name (no intervening space)
\newcommand{\param}[2]{{\it #1}{\bf #2}}
+% C++ argument in the documentation text
+\newcommand{\arg}[1]{{\it #1}}
+
% CLIPS Parameter: a type and a name (one intervening space)
\newcommand{\cparam}[2]{{\bf #1} {\it #2}}
format and running through the Windows help compiler to check
for missing labels, etc.
-- quote all '_' characters with a '\' character (e.g. "MY\_PROGRAM"
+- quote all '_' and '&' characters with a '\' character (e.g. "MY\_PROGRAM"
unless the '_' is inside a comment or a \begin{verbatim} ...
\end{verbatim} block
the screen is used.
\func{virtual bool}{Create}{\param{void*}{ data}, \param{int}{ type},
- \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
+ \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = $-1$}}
Creates a bitmap from the given data, which can be of arbitrary type.
\wxheading{Return value}
-{\tt true} if the call succeeded, {\tt false} otherwise.
+\true if the call succeeded, \false otherwise.
\wxheading{Remarks}
- use \destruct macro for the destructors \func{}{\destruct{MyClass}}{\void}
+- use \true and \false instead of true/TRUE/{\tt true}/...
+
+- use \arg{paramname} to refer to the argument inside of the function
+ description