Mercurial > repos > rhope
view testfilewrite.rhope @ 138:1411de6050e1
First stab at transaction data structures, needs work
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 16 Nov 2010 21:53:18 -0500 |
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"] } }