Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Beginners 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): 7,462
Starting Page Number: 28
RBD Number: 1614
Resource File(s):

Download Icon 1614.sit Updated: Friday, October 17, 2003 at 12:21 PM

Related Web Link(s):

http://www.rbdeveloper.com

Known Limitations: None

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.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com