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 / dbp: user input and saving to an array

Author
Message
Dsarchy
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: UK- Kent
Posted: 24th Apr 2005 21:43
i have been trying to allow a user to save inputted data to an array but my code doesnt work if anyone could help it would be great


thanks for any help, dan
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 24th Apr 2005 22:20
try this, Don't fotget to press the spacebar to see the first input line.

Have moved the do command to below the start values like dim , if thats in a loop it will resize to default values, and have add a sycn command just above the loop command.


In Space No One can Hear You Scream! (When your comm Line is cut?)
Dsarchy
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: UK- Kent
Posted: 24th Apr 2005 22:44
that works but when you press spacekey again it closes down and says "runtime error 118- Array does not exsist or array subscript out of bounds at line 10"

dan
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 24th Apr 2005 22:56 Edited at: 24th Apr 2005 22:58
Ah yes, Now i see need to use ARRAY INSERT AT BOTTOM Array Name(0)


more info on page 32 of the small User Manual if you have it.

In Space No One can Hear You Scream! (When your comm Line is cut?)

Login to post a reply

Server time is: 2024-09-23 19:34:43
Your offset time is: 2024-09-23 19:34:43