#DOCUMENTATION by exept
authorClaus Gittinger <cg@exept.de>
Wed, 21 Aug 2019 22:59:10 +0200
changeset 24586 2bc9612a0c8d
parent 24585 fa8fe00176f5
child 24587 d46ade408aea
#DOCUMENTATION by exept class: SequenceableCollection class comment/format in: #_at:at: #_at:at:at:
SequenceableCollection.st
--- a/SequenceableCollection.st	Wed Aug 21 22:57:54 2019 +0200
+++ b/SequenceableCollection.st	Wed Aug 21 22:59:10 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
 	      All Rights Reserved
@@ -223,9 +225,9 @@
 
 _at:dim1 at:dim2 
     "this is a synthetic selector, generated by the compiler,
-     if a construct of the form expr[idx...] is parsed.
+     if a construct of the form expr[idx] is parsed.
      I.e.
-        Array[n,m]
+        Array[n][m]
      generates
         Array _at:n at:m"
     
@@ -239,7 +241,7 @@
     "this is a synthetic selector, generated by the compiler,
      if a construct of the form expr[idx...] is parsed.
      I.e.
-        Array[n,m,o]
+        Array[n][m][o]
      generates
         Array _at:n at:m at:o"
     
@@ -247,10 +249,7 @@
 
     data := self newWithSize:(dim1 * dim2 * dim3).
     ^ MatrixAccessor collection:data
-        dimensions:(Array 
-                with:dim1
-                with:dim2
-                with:dim3)
+        dimensions:(Array with:dim1 with:dim2 with:dim3)
 ! !
 
 !SequenceableCollection class methodsFor:'instance creation-streaming'!