view testfilewrite.rhope @ 102:2f6f0867fd68

Added files I forgot to add in a previous commit
author Mike Pavone <pavone@retrodev.com>
date Tue, 10 Aug 2010 20:55:52 -0400
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"] }
}