Substring.AppendInt Method

procedure AppendInt(const Value: Int64);

Appends the decimal digits of Value.

#NameTypeDescription
1ValueInt64

Result: stored in self (calling object)

Remarks:

Append's rules apply.

Examples

A number after a label.

uses Substr;

procedure Example;
var s: Substring;
begin
    s := Substring('n=');
    s.AppendInt(-5);
    Assert(s = 'n=-5');
end;