#set TITLE = "proc endproc"
#include top
 
.SH DESCRIPTION
.LP
\fBproc endproc\fR is sometimes necessary
to mark the end of a proc's statements,
in certain situations described below.
It does not need to be used routinely.
.LP
It is a do-nothing marker that may occasionally be needed because of 
the way that ploticus scripts
are parsed.  Variables that are set within a proc do not become available
to the script until the proc is finished.  Procs are delineated
by \fB#proc\fR statements.
.LP
Thus if a \fB#set\fR or \fB#if\fR statement is to be used immediately
following a proc that set one of the involved operands, #proc endproc
should be used before the \fB#set\fR or \fB#if\fR.
.LP

.SH ATTRIBUTES
.LP
None.

.SH EXAMPLE
.LP
Examples from the gallery that use \fBproc endproc\fR are
.ig >>
<a href="../gallery/lineplot4.htm">
.>>
 lineplot4 
.ig >>
</a>
.>>
and
.ig >>
<a href="../gallery/distrib.html">
.>>
 distib
.ig >>
</a>
.>>
\0.

#include bottom
