help-octave
[Top][All Lists]
Advanced

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

Globally global variables


From: Joe Koski
Subject: Globally global variables
Date: Wed, 24 Dec 2003 12:23:31 -0700
User-agent: Microsoft-Entourage/10.1.1.2418

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
-------------------------------------------------------------



reply via email to

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