Shine Tutorial    
  shinetutorialtopsideimage
HOME DOS OS C,C++ HTML CSS XML JAVA ASP PHP SQL OFFICE MULTIMEDIA MORE... CERTIFICATION ABOUT
 
S T ADVT
Dictionary
 

- Computer Dictionary and Glossary -

Array

1. When talking about programming an array is a group of related data values grouped together as one value. Below is an example of how an array is defined and called in Perl. As can be seen in this below example our array is "@numbers" and we've grouped the names of numbers together in this array.

my @numbers = ("one", "two", "three", "four", "five");
print "$numbers[0] and $number[1] equals 3";

The above Perl script prints the first element in this array, which in this case is "one" by using $numbers[0] (0 always being the first number in programming) and then prints the second element, which is "two", and then prints "equals 3" to the screen, as shown below.

one and two equals 3

2. With computer drives, an array is two or more drives that are grouped together and act as one drive. For example, in a RAID array a user may multiple drives that mirror each other for redundancy to help protect the data contained on the drives.

Also see: Hard drive definitions, Programming definitions