correction: 1 - 1 does not = 1 ... 

> From your diagram, I got this:
> 
> String refcount: 2
>  Decrement(string)       (1 - 1 = 1)
>  string -> 'some string'
>  Increment(string)       (1 + 1 = 2)
> We are at 2 again. What was the point of doing it at all?

Correction:  
What I meant was actually this:

> String refcount: 2
>  Decrement(string)       (2 - 1 = 1) <------

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to