Mercurial > hg > octave-lyh
comparison src/ov.cc @ 6157:045038e0108a
[project @ 2006-11-13 22:22:53 by jwe]
author | jwe |
---|---|
date | Mon, 13 Nov 2006 22:22:54 +0000 |
parents | e60688a1ea07 |
children | 7fad1fad19e1 |
comparison
equal
deleted
inserted
replaced
6156:a46f14cdbecd | 6157:045038e0108a |
---|---|
1960 The subscript @var{idx} is expected to be a structure array with\n\ | 1960 The subscript @var{idx} is expected to be a structure array with\n\ |
1961 fields @samp{type} and @samp{subs}. Valid values for @samp{type}\n\ | 1961 fields @samp{type} and @samp{subs}. Valid values for @samp{type}\n\ |
1962 are @samp{\"()\"}, @samp{\"@{@}\", and @samp{\".\"}.\n\ | 1962 are @samp{\"()\"}, @samp{\"@{@}\", and @samp{\".\"}.\n\ |
1963 The @samp{subs} field may be either @samp{\":\"} or a cell array\n\ | 1963 The @samp{subs} field may be either @samp{\":\"} or a cell array\n\ |
1964 of index values.\n\ | 1964 of index values.\n\ |
1965 @seealso{subsasgn, substruct}\n\ | |
1965 @end deftypefn") | 1966 @end deftypefn") |
1966 { | 1967 { |
1967 octave_value_list retval; | 1968 octave_value_list retval; |
1968 | 1969 |
1969 if (args.length () == 2) | 1970 if (args.length () == 2) |
1991 The subscript @var{idx} is expected to be a structure array with\n\ | 1992 The subscript @var{idx} is expected to be a structure array with\n\ |
1992 fields @samp{type} and @samp{subs}. Valid values for @samp{type}\n\ | 1993 fields @samp{type} and @samp{subs}. Valid values for @samp{type}\n\ |
1993 are @samp{\"()\"}, @samp{\"@{@}\", and @samp{\".\"}.\n\ | 1994 are @samp{\"()\"}, @samp{\"@{@}\", and @samp{\".\"}.\n\ |
1994 The @samp{subs} field may be either @samp{\":\"} or a cell array\n\ | 1995 The @samp{subs} field may be either @samp{\":\"} or a cell array\n\ |
1995 of index values.\n\ | 1996 of index values.\n\ |
1997 @seealso{subsref, substruct}\n\ | |
1996 @end deftypefn") | 1998 @end deftypefn") |
1997 { | 1999 { |
1998 octave_value retval; | 2000 octave_value retval; |
1999 | 2001 |
2000 if (args.length () == 3) | 2002 if (args.length () == 3) |