Code in Form2 unit does not execute

I'm testing the Demos/Ide project, just compiling, starting it and playing with designing in Form2.

I have just noticed that if I put code between the begin..end; lines in Form2, it doesn't execute. like this

{$FORM TForm2, Unit2.sfm}
uses
  Classes, Graphics, Controls, Forms, Dialogs, DB, ADODB;
begin   
  showmessage('here');
end;

Running the project does not display the dialog with 'here'. However, if I put the same line in Form1's begin..end, it does execute (as does the creation and display of Form2). Is this WAD?

(If I put the showmessage() call in eg a button event in Form2, it executes.)

This is by design, the script of a form is not "executable". It's supposed to be even handlers for the form.

Then, perhaps trigger an error, so the users see that it's WAD and stop complaining? :D

I'm not sure what error could be raised. The script is valid, it's just that the main block is not executed, because each script is an instance of a form, that's just it.