Identifier

From Lazarus wiki
Revision as of 08:15, 22 July 2005 by Rfc1394 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.

In the above program:

  • WittsEnd
  • Y
  • Plugh
  • Xyzzy

Are all identifiers.