Main
   Home
   About
   DiscussionBoard
Files
   About
   Submit
   Search
Downloads
   Action
   QB64
Links
   Link to us
QB45.org
[ Back to QB45 | FAQ | Search a message | Reply to this message | Back to messages ]

gablea on 08/06/11 - 09:23:34

Hi all,

I am trying to use a global array to hold some product infomration so it can be diplayed on screen

I have used

COMMON SHARED PoSDesription() as string (I did enter 15 in the gap between ( ) but qbasic removed the number.

When I run the program it says there is a error "Sript out of Range"

how do i deal with this?

Andy

Todd on 08/06/11 - 10:09:50

Try REDIM PoSDescription(15).

gablea on 08/06/11 - 10:38:21

Do I do that in the Global.Bi file? or do I do that in the sub where the file is called?

gablea on 08/06/11 - 10:48:01

@todd

THANK-YOU SOOOO MUCH for your advice it works first time :) YAY YAY YAY YAY YAY YAY

Reply to this message
Name:
Message:
Please enter this number:
No HTML allowed. You may use BB-code in your posting.
Members
Login
Register
QB45 Members
Member List