Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Can't write to files???

Author
Message
ReD_eYe
23
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 4th Sep 2003 23:07 Edited at: 4th Sep 2003 23:08
i can't seem to write to files, as far as i can tell this should work fine, but when i open it up in notepad, i see nothing


how come?? i'm sure it must be an error but i can't see it.


IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Sep 2003 23:11
Drop the MAKE FILE command and it should work
ReD_eYe
23
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 4th Sep 2003 23:15
thanks, does it make the file for you then?


IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Sep 2003 23:24
All that MAKE FILE does is create an empty file, but OPEN TO WRITE only works if the file doesn't exist.

I never saw the point in MAKE FILE really...

Login to post a reply

Server time is: 2026-07-23 14:55:59
Your offset time is: 2026-07-23 14:55:59