fpc/docs/refex/ex63.pp
1998-03-25 11:26:49 +00:00

12 lines
194 B
ObjectPascal

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.