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

Author
Message
MaTt0344
20
Years of Service
User Offline
Joined: 6th Jan 2004
Location:
Posted: 9th Jan 2004 02:14
This program that I am trying to create is not supposed to serve any purpose except to help me progress trough my proggraming skills and try them out but the save array line doesn't work. It says runtime error at line 38, array name is not valid. What does that mean? I know this is really begginer stuff but thats why i came to the begginers corner.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Jan 2004 05:39
SAVE ARRAY "stocks", companies(0)


the zero is used regardless of the array size or dimensions.

try that..
MaTt0344
20
Years of Service
User Offline
Joined: 6th Jan 2004
Location:
Posted: 9th Jan 2004 23:24
I did that and made the file and it all worked but now when I try LOAD ARRAY "stocks",companies(0) its says Warning: no such array dimension initialized at line 3. What does this mean? Below is the code with the SAVE ARRAY and LOAD ARRAY commands added in.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 9th Jan 2004 23:30
You need to dim the array before you try to load it.



dbpro : 2ghz p4m : 512mb : geforce 4 4200 go
ico2
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 11th Jan 2004 15:09
i am having the exact same prob
ico2
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 11th Jan 2004 15:15
thanks indi i think it works now. in the manual for the version i have it definately implies that i use the correct index numbers for the dimensions of the array.

Login to post a reply

Server time is: 2024-11-25 23:25:05
Your offset time is: 2024-11-25 23:25:05