Why can ASP.net code in VBScript tags run at page load despite being in no sub or method?
<p>I don't use Visual Studio to write ASP.net websites. </p>

<p>If I put ASP.net code in VBScript tags &lt;% at the top of my .aspx document, it runs without needing to be in a sub page_load. </p>

<p>In fact, I am including another .aspx file that does contain a page_load sub that runs on every page of this small project. </p>

<p>Why don't I get errors like "Statement cannot appear outside of a method body" with this implementation?</p>
