ex3.pp 195 B

1234567891011121314
  1. Program Example3;
  2. Uses strings;
  3. { Program to demonstrate the StrPas function. }
  4. Const P : PChar = 'This is a PCHAR string';
  5. var S : string;
  6. begin
  7. S:=StrPas (P);
  8. Writeln ('S : ',S);
  9. end.