Difference between revisions of "Identifier"

From Lazarus wiki
Jump to navigationJump to search
 
Line 13: Line 13:
 
  end.
 
  end.
  
In the above program:
+
we can say that
  
 
*WittsEnd
 
*WittsEnd

Revision as of 08:16, 22 July 2005

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.