You can't use BEGIN..END here.
That's not true.
It's perfectly fine to use
begin .. end there.
The code there would run when initializing the unit.
(It would have the same effect as
initialization .. endLabel1 is not a valid identifier, because Label1 only exists in the context of the TForm1 class.
Form1.Label1.Caption := 'Something'; should compile just fine.
It would instantly crash though, because at te point in time that this would be executed (at unit initialization), Form1 has not been created yet (it would be either nil, or just an uninitialized pointer).
But, for the intent and purpose that vdubeau seems to have: better use the OnCreate of TForm1.
For that: in the for designe doublle click on an empty space of the form.
The IDE will create the OnCreate (named: TForm1.FormCreate(Sender: TObject);) for you.
Inside that event handler, you can the put the original code you wanted to execute.
Bart