Sign in Join
FPDoc Onlineexperiment

AppendStr procedure

In unit sysutils

Append one ansistring to another.

Declaration

pascal
procedure AppendStr(var Dest: string; const S: string)

Description

AppendStr appends S to Dest.

This function is provided for Delphi compatibility only, since it is completely equivalent to Dest:=Dest+S.

Errors

None.

See also

Example: ex62

pascal
Program Example62;

{ This program demonstrates the AppendStr function }

Uses sysutils;

Var S : AnsiString;

Begin
  S:='This is an ';
  AppendStr(S,'AnsiString');
  Writeln ('S = "',S,'"');
End.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.