Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
var
S: WordSelection;
begin
S :=WordApplication1.Selection;
S.TypeText('Here is some text');
S.TypeParagraph;
S.TypeParagraph;
S.TypeText('And there was a blank line.');
end;
Statt
var S: Selection einfach
var S: WordSelection. Irgendwie auch logisch...