Identifier

From Lazarus wiki
Revision as of 13:29, 15 April 2012 by Chronos (talk | contribs) (syntaxhighlight)
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.