changeset 6839:40ad39648884

[project @ 2007-08-28 15:28:13 by dbateman]
author dbateman
date Tue, 28 Aug 2007 15:28:13 +0000
parents 5e3350bdd91d
children 2f17d5556756
files doc/interpreter/container.txi
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/container.txi	Tue Aug 28 02:59:59 2007 +0000
+++ b/doc/interpreter/container.txi	Tue Aug 28 15:28:13 2007 +0000
@@ -298,7 +298,7 @@
 in = struct ('call1', @{x, Inf, 'last'@}, 'call2', @{x, Inf, 'first'@});
 in (1, :) = []
 @result{} in =
-      {
+      @{
         call1 =
       
         (,
@@ -313,7 +313,7 @@
           [2] = first
         ,)
       
-      }
+      @}
 @end group
 @end example
 
@@ -571,22 +571,22 @@
 
 @example
 @group
-x = {'1', '2'; '3', '4'};
-x{1, :} = []
-@result x =
-      {
+x = @{'1', '2'; '3', '4'@};
+x@{1, :@} = []
+@result{} x =
+      @{
         [1,1] = [](0x0)
         [2,1] = 3
         [1,2] = [](0x0)
         [2,2] = 4
-      }
+      @}
 
 x(1, :) = []
-@result {} x =
-      {
+@result{} x =
+      @{
         [1,1] = 3
         [1,2] = 4
-      }
+      @}
 @end group
 @end example