interesting bug, possibly useful

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu