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 Discussion / Saving Problems

Author
Message
Dr Manette
19
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 28th Mar 2006 17:33
I know how to make a .txt file and save variables to it. And retrieving the information is easy with the read command and changing the string to a numerical value using val(). How do you save a string to the file, as in a$="hi" and then read it and print as "Hi"?
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 29th Mar 2006 08:44
Use this code to save the file


This is the code for retrieving the information


Login to post a reply

Server time is: 2025-05-23 21:02:59
Your offset time is: 2025-05-23 21:02:59