write is a keyword which indicates some characters to put on the screen for example
...
begin
...
Write('result=', a);
...
end
prints result=(the content of the variable a) all the objects must be separed by a ,. writeln leaves a the line after the text