MemCheck(). , . , x y. -1. String - .
, vals, a, b c . . System.StringRefCount() , -1, , .
vals[2] := a;, a , RTL String . a -1, vals[2] 1, , . c := T(vals[2]); String String, . StringRefCount() , c 2.
CompareMem(), , , String, , .
c := T(vals[2]); c := a;, a , - c - . , CompareMem() , String, , .
, : vals[2] := a; , - String := String;?
a := x;, b := y; c := a; System.@UStrLAsg(), String , - String, .
vals[2] := a; System.@UStrAsg(), , String .
@UStrAsg() @UStrLAsg() vals[2] := a;? , , String , . vals (vals: array[0..3] of String;), @UStrLAsg() @UStrAsg(), CompareMem().
@UStrLAsg() String String, -.
@UStrAsg() String String, , , DLL/, .
, , , String .