using arrays in BASIC
Ok, I'm writing a program in BASIC and I have created a listbox. I also have some text boxes in the window that I wish to fill with attributes about each item in the list. Say if I click on item 1, the "number" text box would say "1". I have the list for the listbox and the window and everything already programmed, but I don't know how to(if it is even possible) set item specific attributes in an array. I could to this by puting in a ton of if-then statements and stuff like that, but it would be alot faster if I could just set the attributes for an item in an array. Thanks.
|