mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 18:29:36 +02:00
16 lines
309 B
ObjectPascal
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.
|