Re: How to implement pointer operation
- From: prabu <catchme.prabu@xxxxxxxxx>
- Date: Fri, 29 Jun 2007 04:28:27 -0000
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
.
- References:
- How to implement pointer operation
- From: prabu
- Re: How to implement pointer operation
- From: Ron Fox
- Re: How to implement pointer operation
- From: Donal K. Fellows
- How to implement pointer operation
- Prev by Date: A widget for the user's editor of choice
- Next by Date: Re: Tcl C extn - Scoping in extended cmds - how to?
- Previous by thread: Re: How to implement pointer operation
- Next by thread: Re: How to implement pointer operation
- Index(es):