summaryrefslogtreecommitdiff
path: root/fpcdocs/refex/ex63.pp
blob: 42982d8e5ec850a0ea2e21e6db61f01db8bc88dd (plain)
1
2
3
4
5
6
7
8
9
10
11
Program Example63;

{ Program to demonstrate the SizeOf function. }
Var
  I : Longint;
  S : String [10];

begin
  Writeln (SizeOf(I));  { Prints 4  }
  Writeln (SizeOf(S));  { Prints 11 }
end.