view testfilewrite.rhope @ 82:2e2e55fc12f9

Fix bug with conditionally assigning a literal or input to a named pipe
author Mike Pavone <pavone@retrodev.com>
date Tue, 27 Jul 2010 15:23:32 -0400
parents
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"] }
}