Standard Pascal/pt

From Free Pascal wiki
Revision as of 17:39, 19 November 2007 by Aliotti (talk | contribs) (New page: '''Standard Pascal'''é uma especificação para a linguagem Pascal que define o minimo grau que um Pascal compiler deve suportar para ser um verdadeiro compilador da ling...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Standard Pascalé uma especificação para a linguagem Pascal que define o minimo grau que um Pascal compiler deve suportar para ser um verdadeiro compilador da linguagem pascal. Os seguintes são os padrões keywords que todos os compiladores devem suportar:

begin · end · for · goto · if · label · repeat · then · until · while · do · type · var

Os seguintes símbolos são parte da linguagem:

:= (becomes) · = (equal) · > (greater than) · < (less than) <> (not equal)

There are additional keywords which are not technically part of the Standard Pascal language but are used by FPC either for additional functionality such as for implementing objects, compatibility with the error recovery concepts exposed by C++, or to provide compatibility with Borland Pascal and earlier Pascal compilers. These keywords include:

implementation · finally · try · unit.

Tipos

Aqui temos os tipos padrão:

integer · smallint · longint · real · boolean · string · char