[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: variables `inheriting' values
From: |
John W. Eaton |
Subject: |
Re: variables `inheriting' values |
Date: |
Mon, 25 Jan 2010 23:43:58 -0500 |
On 25-Jan-2010, Mike B. wrote:
| Hi Jordi.
|
| Thanks for replying.
| I was thinking more like a symlink to variables (similarly to a symlink
between files in linux), so something like:
| symlink( a, b ) # symlink b to a, not sure if this exists
| a = 1
|
| so now b (automatically) equals 1 as well.
| This ideally would also work even if `a' is still undefined, so I can fill-in
values later, for example:
| clear -a
| symlink( a,b )
| a = 1
|
| Is this possible?.
It sounds like you want references (or perhaps pointers) and Octave
does not have either. Can you explain why do you want this feature
with a nontrivial example?
jwe
- variables `inheriting' values, Mike B., 2010/01/23
- Re: variables `inheriting' values, Jordi GutiƩrrez Hermoso, 2010/01/25
- Re: variables `inheriting' values, Mike B., 2010/01/25
- Re: variables `inheriting' values,
John W. Eaton <=
- variables `inheriting' values, rounding, Mike B., 2010/01/26
- Re: variables `inheriting' values, rounding, Jordi GutiƩrrez Hermoso, 2010/01/26
- Re: variables `inheriting' values, rounding, Mike B., 2010/01/26
- Re: variables `inheriting' values, rounding, John W. Eaton, 2010/01/26
- Re: variables `inheriting' values, rounding, Mike B., 2010/01/27
Re: variables `inheriting' values, Dupuis, 2010/01/26