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 / manipulating an array

Author
Message
Jadelion
21
Years of Service
User Offline
Joined: 14th Jan 2003
Location:
Posted: 16th Jan 2003 09:29
Ok I have a question
If I make an array to store character data like so



and then reference that data latter



how then do I set the adjusted data back in the array
do I have to make another array or can I just do this

VietStylist
22
Years of Service
User Offline
Joined: 20th Sep 2002
Location: Australia
Posted: 16th Jan 2003 15:08
You should use the read file commands instead.



Vs

333 Mhz , 96 mb ram , 15 inch monitor , intergrated intel810 graphics chipset ...
BBoy VietStylist 1.9k'86
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 16th Jan 2003 19:04
Make sure you put the variable first, then the value - under where you say you are referencing it, you appear to be putting the values of hp and mp into the array. Yes, you can just put the new values in and save it again.

Login to post a reply

Server time is: 2024-11-23 22:02:13
Your offset time is: 2024-11-23 22:02:13