Mercurial > repos > rhope
view testfilewrite.rhope @ 156:ed70399a07aa
Add Substring method to string and improve performance of Partition
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 23 Dec 2010 02:00:27 +0000 |
parents | 2e2e55fc12f9 |
children |
line wrap: on
line source
Main[] { Truncate[File["testwrite.txt"]] { Close[[~]Write[ [Flatten["The quick brown fox jumped over the lazy dog.\n"]]Buffer >> ]] } { Print["Error truncating file"] } }