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 14 in printed book and digital formats -- plus a one-year subscription 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 1.6

COLUMN

Welcome to the REALbasic Developer Magazine Beginner's Corner!

Issue: 1.6 (June/July 2003)
Author: Thomas J. Cunningham
Author Bio: Thomas is a hobbyist programmer and enjoys sharing the RB loving with others... His online RB Beginner tutorial has had over 18,000 hits!
Article Description: No description available.
Article Length (in bytes): 8,299
Starting Page Number: 28
Article Number: 1614
Resource File(s):

Download Icon 1614.zip Updated: 2013-03-11 19:07:56

Related Web Link(s):

http://www.rbdeveloper.com

Excerpt of article text...

This month I would like to take up the subject of arrays in REALbasic. Understanding and using arrays is a very valuable skill, a tool if you will, to be used in your programming activities. I will only cover the use of one-dimensional arrays.

The Array Data Structure

Why you would want to use arrays is straightforward: we need to have a list of data that we can logically refer to in our programs. We refer to each item in the array via its index property. When we program, we need access to certain information, we need to put that information somewhere, and many times an array is the perfect storage solution. Using and creating arrays needs to be clearly understood by beginners.

An array is referred to as a data structure; a fancy term that simply means you can arrange data in a certain manner, and that the data has a structure to it. An array is nothing more than a list of data. Each item of data is arranged numerically. You assign and access the data via the array's index property, its numbered line if you will, in the list. Think of an array just like the following list of words:

...End of Excerpt. Please purchase the magazine to read the full article.