Article Preview
Buy Now
Enumerations
Column
Issue: 18.3 (May/June 2020)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 13,974
Starting Page Number: 82
Article Number: 18307
Resource File(s):
project18307.zip Updated: 2020-05-01 11:31:27
Related Link(s): None
Excerpt of article text...
Stop me if you've run into this programming nightmare. You're working on a new project and you need to store data in the columns of a listbox. Say it's a program to work with stock market data and you decide you need columns for the stock sticker, its price, the number of shares owned, and their total value.
So you create an interface that looks like Figure 1.
Here's what the code looks like (using dummy data for demonstration purposes):
dim kData as string = "IBM,122.39,10 AAPL,280.83,25 DIS,100.04,15 AMZN,2399.05,7"
dim stocks() as string = kData.split(" ")
...End of Excerpt. Please purchase the magazine to read the full article.