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 / Save Array

Author
Message
Holden
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location:
Posted: 24th Jan 2003 15:36
Hi,

I've got an array ( Einkuenfte#(50,2) ) - I need to store the values to an external file so that I can load and use them again next time I use my programm. I tried save array, but it didn't work.
So how does it work to save my whole array?
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 24th Jan 2003 15:47
I suggest writing a file and reading the file when you need to load the info from it.

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
Holden
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location:
Posted: 24th Jan 2003 19:11
What am I doing wrong?

With this piece of code I wanted to save my array-data.



This is the code I intended to open the data I (wished I) saved with.



I'm sorry that the snippets are so long, but I'm a beginner and I don't really know where the mistake lies. I tried a lot of things before I came here (trying to fix it for some hours now)

thanks in advance,
greets

Login to post a reply

Server time is: 2024-05-04 21:40:55
Your offset time is: 2024-05-04 21:40:55