ex51.pp 347 B

12345678910111213141516
  1. Program Example51;
  2. { Program to demonstrate the StringToPPChar function.
  3. This function is pretty obsolete }
  4. Uses UnixUtil;
  5. var P : PPChar;
  6. S : String;
  7. begin
  8. S:='/bin/ls -l -F';
  9. P:=StringToPPChar(S,0);
  10. Writeln ('Name : ',p^); inc(longint(p),4);
  11. writeln ('Option 1 : ',p^); inc(longint(p),4);
  12. writeln ('Option 2 : ',p^);
  13. end.