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

15 lines
195 B
ObjectPascal

Program Example3;
Uses strings;
{ Program to demonstrate the StrPas function. }
Const P : PChar = 'This is a PCHAR string';
var S : string;
begin
S:=StrPas (P);
Writeln ('S : ',S);
end.