ex1.pp 216 B

123456789101112
  1. Program Example1;
  2. Uses strings;
  3. { Program to demonstrate the StrLen function. }
  4. Const P : PChar = 'This is a constant pchar string';
  5. begin
  6. Writeln ('P : ',p);
  7. Writeln ('length(P) : ',StrLen(P));
  8. end.