help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

variables `inheriting' values


From: Mike B.
Subject: variables `inheriting' values
Date: Sat, 23 Jan 2010 20:29:25 -0800 (PST)

Hi All,

Is it possible to do define variables so they will `inherit' a value later on down the code, for example:

# a is still not defined
b = a
# now a is set with a value, for example
a = sin( 1 )

so now b automatically `inherits' the value of a?.

Cheers,
Mike.


Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]