WriteStream.st
changeset 22152 f19b33cfb222
parent 22150 0d64aa6cdf34
child 22553 fb78e910d191
--- a/WriteStream.st	Wed Aug 02 13:09:52 2017 +0200
+++ b/WriteStream.st	Wed Aug 02 13:10:18 2017 +0200
@@ -243,6 +243,17 @@
      s contents
     "
 
+    "
+     |s|
+
+     s := 'testFile' asFilename writeStream.
+     s nextPutAll:'123456'.
+     s truncateTo:4.
+     s nextPutAll:'abc'.
+     s close.
+     'testFile' asFilename contents
+    "
+
     "Created: / 02-08-2017 / 09:24:58 / cg"
 ! !