view testfilewrite.rhope @ 162:bac2c74801f0

Move some C code out of cbackend_c.rhope into separate include files
author Mike Pavone <pavone@retrodev.com>
date Sun, 09 Jan 2011 22:51:10 -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"] }
}