Mercurial > hg > octave-lyh
comparison scripts/miscellaneous/getfield.m @ 9036:58604c45ca74
Cleanup of data types related documentation
Files: data.texi, numbers.texi, strings.texi, container.texi
Use two spaces after a period for increased readibility in Info browser
Spellcheck
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sat, 21 Mar 2009 15:52:41 -0700 |
parents | eb63fbe60fab |
children | 1bf0ce0930be |
comparison
equal
deleted
inserted
replaced
9035:57649dcecb55 | 9036:58604c45ca74 |
---|---|
16 ## along with Octave; see the file COPYING. If not, see | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {[@var{v1}, @dots{}] =} getfield (@var{s}, @var{key}, @dots{}) | 20 ## @deftypefn {Function File} {[@var{v1}, @dots{}] =} getfield (@var{s}, @var{key}, @dots{}) |
21 ## Extract fields from a structure. For example | 21 ## Extract fields from a structure. For example |
22 ## | 22 ## |
23 ## @example | 23 ## @example |
24 ## @group | 24 ## @group |
25 ## ss(1,2).fd(3).b = 5; | 25 ## ss(1,2).fd(3).b = 5; |
26 ## getfield (ss, @{1,2@}, "fd", @{3@}, "b") | 26 ## getfield (ss, @{1,2@}, "fd", @{3@}, "b") |