fpc/docs/stringex/ex1.pp
1998-03-25 11:26:49 +00:00

13 lines
216 B
ObjectPascal

Program Example1;
Uses strings;
{ Program to demonstrate the StrLen function. }
Const P : PChar = 'This is a constant pchar string';
begin
Writeln ('P : ',p);
Writeln ('length(P) : ',StrLen(P));
end.