[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: issue with user preferences (was "problem with column specification
From: |
Paul Kienzle |
Subject: |
Re: issue with user preferences (was "problem with column specification in matrices") |
Date: |
Fri, 1 Nov 2002 14:07:05 -0500 |
User-agent: |
Mutt/1.2.5.1i |
octave:1> function f, static n=1; n++, end
octave:2> f
ans = 1
octave:3> f
ans = 2
octave:4> f
ans = 3
Paul Kienzle
address@hidden
On Fri, Nov 01, 2002 at 01:49:05PM -0500, Andy Adler wrote:
> On Fri, 1 Nov 2002, John W. Eaton wrote:
> > Other things that I think were in Octave
> > first (and may still be missing from Matlab) include
> >
> > ...
> > static variables
> > ...
>
> I didn't know that octave had static variables! I just
> did a search on the mailing list archive and I can't find
> anything about how to use them.
>
> Could you provide some detiails. Thanks.
>
> Andy
> --
> Andy Adler,
> Assistant Professor, School of Information Technology and Engineering,
> University of Ottawa, Tel:1(613)562-5800 X 2345, Email:address@hidden
>
>
>
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
>
-------------------------------------------------------------
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
-------------------------------------------------------------