fpc/docs/linuxex/ex51.pp
1998-03-25 11:26:49 +00:00

16 lines
309 B
ObjectPascal

Program Example51;
{ Program to demonstrate the StringToPPChar function. }
Uses linux;
var P : PPChar;
S : String;
begin
S:='/bin/ls -l -F';
P:=StringToPPChar(S);
Writeln ('Name : ',p^); inc(longint(p),4);
writeln ('Option 1 : ',p^); inc(longint(p),4);
writeln ('Option 2 : ',p^);
end.