[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
persistent vs static
From: |
John W. Eaton |
Subject: |
persistent vs static |
Date: |
Sun, 28 Aug 2005 22:21:01 -0400 |
On 28-Aug-2005, Bill Denney wrote:
| Is there a difference between persistent and static?
No.
| If so, the help
| should reflect that. If not, could one of them be marked as depreciated
| in favor of or a synonym of the other?
Sure. Please suggest a patch.
| It appears from
| http://www.octave.org/doc/Persistent-Variables.html#Persistent-Variables
| that static is just there for a synonym of persistent.
As I recall, Octave had static before Matlab had persistent, so I
think persistent is just there for a synonym of static.
jwe
-------------------------------------------------------------
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
-------------------------------------------------------------