Poll

Please rate this tutorial...

Good
8 (100%)
OK
0 (0%)
Needs Revision
0 (0%)
Inappropriate
0 (0%)

Total Members Voted: 8

Author Topic: Ritchie's Array Tutorial (Updated)  (Read 258 times)

TerryRitchie

  • Hero Member
  • *****
  • Posts: 2264
  • FORMAT C:\ /Q /U /AUTOTEST (How to repair Win8)
    • Email
Ritchie's Array Tutorial (Updated)
« on: March 26, 2013, 09:58:53 PM »
I recently saw a request that an array tutorial be created. I have noticed that many new to programming, especially my students, have a very difficult time grasping the concept of arrays. To this end I wrote this tutorial as a beginners guide to their structure, use and function.

The tutorial covers the basics:

- Creating one, two, three and four dimensional arrays
- Creating one and two dimensional arrays using TYPEs
- Resizing arrays (REDIM) in real time
- Array index boundaries (LBOUND, UBOUND)
- OPTION BASE compiler directive
- $STATIC and $DYNAMIC metacommands

The included PDF document includes code examples and graphics to illustrate concepts. The downloadable .ZIP file below contains the PDF tutorial and all source code in .BAS format ready to execute.

https://dl.dropbox.com/u/416997/ArrayTutorial.zip  (665KB)
« Last Edit: March 30, 2013, 11:02:39 AM by TerryRitchie »