Mercurial > repos > rhope
view testfilewrite.rhope @ 149:804e48af1027
Fix file not found handling
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 22 Nov 2010 20:38:03 +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"] } }