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

Author
Message
Sam Cruise
21
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 4th Nov 2002 22:59
I get Array name is not valid when trying to use :

Save Array a$,final(71,2)

Any ideas? The array is dimmed properly and everything.

Thanks in advance.
hexGEAR
21
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 6th Nov 2002 01:44
have you tried spacing, putting an actual filename in the variable a$ checking where you declared the array, checking if the filename actually exists. basically i thin it's the spacing but i'm not 100% sure, i've never used it before.
TheCyborg
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Denmark
Posted: 6th Nov 2002 23:06
The spacing should not be any problem.

What is the contents of the variable a$?
Are you sure you did not spell the array name wrong?
Is the array a string?
Then you need to include the $

TheCyborg Development.
http://TheCyborg.Amok.dk
The Ultimate Source To DarkBASIC Programming.
TheNVS
21
Years of Service
User Offline
Joined: 25th Oct 2002
Location: United States
Posted: 9th Nov 2002 01:42
hey, i tried it and worked a little bit on darkbasic and could not find a solution to the problem. either it is a bug or we or i need to search more or understand more.

Reece
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: UK
Posted: 9th Nov 2002 01:50
Hold up.
I'm sure thats not worked for me too.

I think I just put a '0' in the array brackets, regardless of how many dimensions in the array.
ie.

Save Array a$,final(0)

yeah?
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Nov 2002 03:58
Save Array a$,final(0)

indeed, regardless of size just use zero

indi is part of Team Lunarpixel
multimedia logisitics and interactive media

Login to post a reply

Server time is: 2024-03-29 08:08:02
Your offset time is: 2024-03-29 08:08:02