By The Reserved Word 'Program'
By The Reserved Word 'Program'
Pascal was developed in 19681969 and published in 1970. Niklaus Wirth was
the one who developed it. Pascal was developed with intent to provide features
that were lacking in other languages such as efficiency in implementation and
running, good structure and organization, and an easy way to teach people
programming.
programHelloWorld;
The main program always starts with the reserved word 'Begin'
writeln('HelloWorld');
writeln method is used to display any message on the screen and proceed to
the following line when writing a statement.
end.
The end keyword closes a Block of instructions started with the begin or case
keyword and also ends the declaration of fields of a record
References