Mercurial > octave-nkf
diff doc/interpreter/container.txi @ 12255:ad70f6cf1268 release-3-4-x
Correct en-dash,em-dash instances in docstrings.
Add a few more operators to operator index.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 26 Jan 2011 20:51:20 -0800 |
parents | a4b0e292107f |
children | 1eb430d9a1b9 |
line wrap: on
line diff
--- a/doc/interpreter/container.txi Wed Jan 26 23:49:42 2011 -0500 +++ b/doc/interpreter/container.txi Wed Jan 26 20:51:20 2011 -0800 @@ -66,9 +66,12 @@ @end group @end example +@opindex . @noindent -create a structure with three elements. To print the value of the -structure, you can type its name, just as for any other variable: +create a structure with three elements. The @samp{.} character separates +the structure name from the field name and indicates to Octave that this +variable is a structure. To print the value of the +structure you can type its name, just as for any other variable: @example @group @@ -494,7 +497,8 @@ @node Basic Usage of Cell Arrays @subsection Basic Usage of Cell Arrays - +@opindex @{ +@opindex @} As an example, the following code creates a cell array containing a string and a 2-by-2 random matrix