array - Hutchinson encyclopedia article about array Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
1,751,983,617 visitors served.
forum mailing list For webmasters
?
New: Language forums
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

array

   Also found in: Dictionary/thesaurus, Medical, Legal, Encyclopedia, Wikipedia 0.02 sec.

array

In computer programming, a list of values that can all be referred to by a single variable name. Separate values are distinguished by using a subscript with each variable name.

Arrays are useful because they allow programmers to write general routines that can process long lists of data. For example, if every price stored in an accounting program used a different variable name, separate program instructions would be needed to process each price. However, if all the prices were stored in an array, a general routine could be written to process, say, ‘price(J)’, and, by allowing J to take different values, could then process any individual price.

For example, consider this list of highest daily temperatures: day 1 – 22°C; day 2 – 23°C; day 3 – 19°C; day 4 – 21°C. This array might be stored with the single variable name ‘temp’. Separate elements of the array would then be identified with subscripts. So, for example, the array element ‘temp(1)’ would store the value ‘22’, and the array element ‘temp(3)’ would store the value ‘19’.

array

Collection of numbers (or letters representing numbers) arranged in rows and columns. A matrix is an array shown inside a pair of brackets; it indicates that the array should be treated as a single entity.



How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Email
Feedback
?Sign in SSL protected
Email:
Password:
Register

? Mentioned in ? References in classic literature
 
They therefore chose as leaders Mice that were most renowned for their family descent, strength, and counsel, as well as those most noted for their courage in the fight, so that they might be better marshaled in battle array and formed into troops, regiments, and battalions.
The tiled floor was thick with dust, and a remarkable array of miscellaneous objects was shrouded in the same grey covering.
He turned and strode away, very much at random, across the dewy fields, his half-penitent tormentor quietly watching him from his point of vantage in the saddle till he disappeared beyond an array of trees.
 
Hutchinson browser? ? Full browser
 
 
Hutchinson Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2009 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.