Re: open() : Files that don't exist

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

Alex Chamberlain wrote:
> 
> Why does }}}
<eucode>open("debug.txt", "w")</eucode>
{{{
 create a file called
> "DEBUG.TXT"?
> Is there a way to get around this?

I hope not.  What would you expect to happen when attempting to write a 
file?  Perhaps you want to open with "u"?  Or maybe you should check to see
if it's already in existence.  But the behavior you quote is the proper and
expected.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu