DoubleArray.st
changeset 2820 a128d890def3
parent 2145 d243ffafeae3
child 4062 4959de96b06f
--- a/DoubleArray.st	Thu Jul 31 17:47:21 1997 +0200
+++ b/DoubleArray.st	Thu Jul 31 18:46:12 1997 +0200
@@ -57,10 +57,13 @@
     (since their protocol is the same as normal arrays filled with floats,
      they can of course be easily simulated - a bit slower though)
 
-    Also, they could be simulated by a ByteArray, using doubleAt: and 
+    However, they could be simulated by a ByteArray, using doubleAt: and 
     doubleAtPut: messages to access the elements, but that seems a bit
     clumsy and unelegant. Also, the stc-compiler may learn how to deal
     with Float- and DoubleArrays, making accesses very fast in the future.
+    Hint: if you use doubleArrays in your application and must port it
+    to some other smalltalk, define a DoubleArray class there, which is derived
+    from ByteArray, and add access methods.
 
     Of course, DoubleArray can be subclassed,
     and named instance variables can be added there.
@@ -78,5 +81,5 @@
 !DoubleArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/DoubleArray.st,v 1.16 1997-01-11 12:14:19 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/DoubleArray.st,v 1.17 1997-07-31 16:46:12 cg Exp $'
 ! !