Frank Heckenbach wrote:
CBFalconer wrote:
... snip ...
Copies, yes.
No, aliases. If you do:
var a, b: ^Integer;
begin New (a); b := a; end;
Then both a^ and b^ refer to the same target. The pointers are copies, but the target is identical. Note that ISO Pascal actually calls these targets "variables", so Peter's terminology was really correct according to ISO:
That's what I meant by "copies" (of pointers). Perfectly safe until one gets disposed. Often the only way of handling lists and the ilk.