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.

Newcomers DBPro Corner / File Command Question.

Author
Message
PeaKnuckle
19
Years of Service
User Offline
Joined: 10th Nov 2004
Location:
Posted: 26th Jun 2007 08:16
Hello, I'm learning how to use the file commands and I can't seem to get strings or other data types to write in my files. Here is the code I am using.



I have created the file user.dat in the C directory. But I can't seem to store strings and other data types in it. What am I doing wrong?


Also is there a way to append data to a file without deleting the previous data?

Thanks in advance.
PeaKnuckle
19
Years of Service
User Offline
Joined: 10th Nov 2004
Location:
Posted: 27th Jun 2007 02:12
Thanks for replying, Yes, that was the problem. One more thing can DarkBasic append data to a file kind of like Random Access Files?

Login to post a reply

Server time is: 2024-09-27 01:20:09
Your offset time is: 2024-09-27 01:20:09