Mercurial > hg > octave-lyh
diff doc/interpreter/var.txi @ 6077:95f153281c97
[project @ 2006-10-24 16:24:30 by jwe]
author | jwe |
---|---|
date | Tue, 24 Oct 2006 16:24:30 +0000 |
parents | a02a305e06ee |
children | f638513775a8 |
line wrap: on
line diff
--- a/doc/interpreter/var.txi +++ b/doc/interpreter/var.txi @@ -93,7 +93,9 @@ @end example @noindent -the value of the global variable @code{gvar} is 1, not 2. +the value of the global variable @code{gvar} is 1, not 2. Issuing a +@samp{clear a} command does not change the above behavior, but +@samp{clear all} does. It is necessary declare a variable as global within a function body in order to access it. For example,