interesting bug, possibly useful
- Posted by useless Jul 28, 2010
- 936 views
I stumbled and fell all over this one today. This doesn't error out:
trace(1) writefile = 0 writefile = eu:open("junk","w") puts(writefile,writedata) close(writefile) readfile = eu:open("junk","r") junk = gets(readfile) close(readfile)
Both open()s return 3, there's no error, no crashes, and the gets() from the file(?) are correct valid data, but there's no file written to harddrive.
Praps this is the way to make windows pipes? Just substitute the "TheNameOfYourPipe" for "junk"?
useless