fpc/docs/sysutex/ex63.pp
1999-05-28 19:38:35 +00:00

16 lines
281 B
ObjectPascal

Program Example63;
{ This program demonstrates the AssignStr function }
{$H+}
Uses sysutils;
Var P : PString;
Begin
P:=NewStr('A first AnsiString');
Writeln ('Before: P = "',P^,'"');
AssignStr(P,'A Second ansistring');
Writeln ('After : P = "',P^,'"');
DisposeStr(P);
End.