diff testfileread.rhope @ 81:dbe95bfec970

Very basic file access is now working; however, there's a bug involving assigning a literal to a named pipe inside a conditional block that needs fixing
author Mike Pavone <pavone@retrodev.com>
date Thu, 22 Jul 2010 05:39:08 +0000
parents d78613686a38
children
line wrap: on
line diff
--- a/testfileread.rhope	Wed Jul 21 00:45:13 2010 -0400
+++ b/testfileread.rhope	Thu Jul 22 05:39:08 2010 +0000
@@ -1,8 +1,7 @@
 
 Main[]
 {
-	f <- [File["test.txt"]]Open["r"]
-	,data <- [f]Read[[f]Length]
-	Print[String[data]]
+	f <- File["test.txt"]
+	Print[String[f]]
 }