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 / loading an array from another program

Author
Message
wind27382
18
Years of Service
User Offline
Joined: 10th Feb 2006
Location:
Posted: 5th Jul 2008 19:30
Well I've tried to use the search, and i've gotten a little help. but I still have a very basic question. I'm working on a very basic game with simple stats. I have made a few simple arrays and managed to save them. the question that I have is if it is possible to load those same arrays into another program and increase them.

wind
wildbill
18
Years of Service
User Offline
Joined: 14th Apr 2006
Location:
Posted: 5th Jul 2008 22:57
If you mean create and save an array with one DBP program and open it with another DBP program, it's no problem.

Just check out the array stack commands to resize it.
wind27382
18
Years of Service
User Offline
Joined: 10th Feb 2006
Location:
Posted: 5th Jul 2008 23:18
ok so how would I go about doing this. very basic explanation please. and yes I have tried the tutorials, but I can only make and save them.

wind
wildbill
18
Years of Service
User Offline
Joined: 14th Apr 2006
Location:
Posted: 6th Jul 2008 04:45
Here is some code to look at.

1st create the writing program.


2nd make the reading program
wind27382
18
Years of Service
User Offline
Joined: 10th Feb 2006
Location:
Posted: 6th Jul 2008 05:26 Edited at: 6th Jul 2008 05:27
thanks again for the help hopefully this will work for me.

I always thought that if i mad another array in another program then it would erase the old array.

wind
wind27382
18
Years of Service
User Offline
Joined: 10th Feb 2006
Location:
Posted: 6th Jul 2008 18:52
hey it worked thanks again. It worked perfectly.

wind

Login to post a reply

Server time is: 2024-11-25 21:58:08
Your offset time is: 2024-11-25 21:58:08