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.

Author
Message
The Scorpion
23
Years of Service
User Offline
Joined: 12th Oct 2002
Location: United States
Posted: 16th Oct 2003 23:25
I'm using arrays to store certain data, but i want those arrays to be used by more than one of my programs. I try and load an array from my other program, but then it freezes up. Is there another way I could do this?

Much regards,
The Scorpion
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 16th Oct 2003 23:29
Are your arrays defined exactly the same type and size in each program? If not, this could be the cause of your problem.
The Scorpion
23
Years of Service
User Offline
Joined: 12th Oct 2002
Location: United States
Posted: 16th Oct 2003 23:39
Yeah both the same size and same type.

Much regards,
The Scorpion
ReD_eYe
23
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 16th Oct 2003 23:56
do you load them like
load array "arrayfilename",array(0)
???


"Look a bandwagon.... lets jump on it!"
The Scorpion
23
Years of Service
User Offline
Joined: 12th Oct 2002
Location: United States
Posted: 17th Oct 2003 18:40
Kind of...I replace that 0 with the element size.

Much regards,
The Scorpion
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Oct 2003 20:27
Nope, you need to either change it to zero, or remove it totally.
The Scorpion
23
Years of Service
User Offline
Joined: 12th Oct 2002
Location: United States
Posted: 19th Oct 2003 06:10
Still doesn't work. Does it have something to do with the GUID?

Is there another way to save information to a file?? (and encrypt it)

Much regards,
The Scorpion
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 19th Oct 2003 13:43
To save/load array data yourself, you can check this post here : http://developer.thegamecreators.com/?m=forum_view&t=16810&b=7

Encryption is another story, but you might just think about simple ways of disguising the data like adding a set number when you save, and subtracting it when you load etc

Login to post a reply

Server time is: 2026-07-26 09:29:02
Your offset time is: 2026-07-26 09:29:02