view current version</a>.
</div>
<div id="statements" class="section level1">
<h1><span class="header-section-number">7</span> Statements</h1>
<p>The blocks of a Stan program are made up of
variable declarations and statements; see the <a href="#blocks">blocks chapter</a> for
details. Unlike programs in BUGS, the
declarations and statements making up a Stan program are executed in
the order in which they are written. Variables must be defined to
have some value (as well as declared to have some type) before