Re: How to implement pointer operation



On Jun 28, 8:26 pm, "Donal K. Fellows"
<donal.k.fell...@xxxxxxxxxxxxxxxx> wrote:
Ron Fox wrote:
You want something like this:

set a 10
set b a; # B 'points' to a
puts [set $b]

The other thing is that almost all code that does this a lot is better
written using arrays.

set ary(a) 10
set b a
puts $ary($b)

Donal.

Thanks guys

.