Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 18.3 ('Machine Learning')
Instant purchase and download via GumRoad!

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):

Download Icon 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.