ex5.pp 233 B

1234567891011121314
  1. Program Example5;
  2. Uses strings;
  3. { Program to demonstrate the StrLCopy function. }
  4. Const P : PCHar = '123456789ABCDEF';
  5. var PP : PCHar;
  6. begin
  7. PP:=StrAlloc(11);
  8. Writeln ('First 10 characters of P : ',StrLCopy (PP,P,10));
  9. end.