Mercurial > octave-nkf
diff doc/interpreter/var.txi @ 18071:d48ef9e24324
maint: Remove deprecated keyword static.
* lex.ll: Remove static_kw processing.
* octave.gperf: Remove static_kw form list of keywords.
* grammar.txi: Remove static from list of Octave keywords.
* var.txi: Remove documentation mentioning static as synonym for persistent.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 03 Dec 2013 16:35:04 -0800 |
parents | d63878346099 |
children | e0775b4f41dd |
line wrap: on
line diff
--- a/doc/interpreter/var.txi Tue Dec 03 15:59:56 2013 -0800 +++ b/doc/interpreter/var.txi Tue Dec 03 16:35:04 2013 -0800 @@ -221,8 +221,7 @@ @end example The behavior of persistent variables is equivalent to the behavior of -static variables in C@. The command @code{static} in Octave is also -recognized and is equivalent to @code{persistent}. +static variables in C@. Like global variables, a persistent variable may only be initialized once. For example, after executing the following code