From help-octave-request at bevo dot che dot wisc dot edu Wed Dec 24 13:26:17 2003 Subject: Globally global variables From: Joe Koski To: Date: Wed, 24 Dec 2003 12:23:31 -0700 As a new octave user, one of the things confusing me is global variables. 1) Functions have a return list in square brackets, that other functions easily find. 2) The manual says that global variables must be declared in the function called, not in the calling program. So be it. To get my variables to appear at the top octave level, it appears that I must declare the variables as global both at the top level and in the octave .m function. Is this true? If it is, then what is the purpose of the return list in square brackets to the right of the function name? Thanks. Joe Koski ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------