Identifier

From Lazarus wiki
Revision as of 22:51, 12 July 2018 by Mathias (talk | contribs)
Jump to navigationJump to search

Deutsch (de) English (en) suomi (fi) français (fr) русский (ru)

An identifer is a symbol used in a Pascal program which consists of letters, numbers and certain special characters, used to indicate a specific variable, constant, object, record, type, procedure or function.

For example, in the following piece of code:

program WittsEnd;
const 
  Y = 2;
var 
  Plugh: Integer;

procedure Xyzzy;
begin
end;

begin
  Plugh := Y * 2;
end.

we can say that

  • WittsEnd
  • Y
  • Plugh
  • Xyzzy

Are all identifiers.