IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Coder
Search Coder Group:

Advanced
-Collapse +Expand Coder Study Test
PRESTWOODCERTIFIED
-Collapse +Expand Coder Store
PRESTWOODSTORE

Prestwood eMagazine

July Edition
Subscribe now! It's Free!
Enter your email:

   ► KBRole-Based T...Coding & OOGeneral Codi...   Print This     
  From the June 2013 Issue of Prestwood eMag
 
Coder General Coding Concepts:
Associative Array
 
Posted 12 years ago on 6/18/2008
Take Away: A set of unique keys linked to a set of values. Each unique key is associated with a value. Think of it as a two column table. MyArray['CA'] = 'California' MyArray['AR'] = 'Arizona'
Coder Definition Flashcard:
 A flashcard from our Coder Flashcards Library
 A definition from our Coder Definitions Page

KB101197

Associative Array - A set of unique keys linked to a set of values. Each unique key is associated with a value. Think of it as a two column table. MyArray['CA'] = 'California' MyArray['AR'] = 'Arizona'

A set of unique keys linked to a set of values. Each unique key is associated with a value. A two column table is an example of an associative array.

Example:

MyArray['CA'] = 'California'
MyArray['AR'] = 'Arizona'

More Info

Code:  Access VBA Associative Array (Collection)
Code:  ASP Classic Associative Array (Scripting.Dictionary)
Code:  Assocative Arrays in ObjectPAL
FAQ:  Associative Arrays in ASP Classic
Tip:  Associative Arrays in Delphi/Object Pascal
Code:  Associative Arrays in Delphi/Object Pascal (Use TStringList)
Code:  Associative Arrays in Java (a Map)
Code:  Associative Arrays in JavaScript
Code:  Associative Arrays in Visual Basic (a Dictionary)
Code:  C# Associative Array (Dictionary)
Code:  C++ Associative Array (map)
Code:  Delphi Associative Array (TStringList Assoc Array)
Code:  Java Associative Array (HashMap())
Code:  JavaScript Associative Array (Array(), use [)
Code:  ObjectPAL Associative Array (DynArray)
Code:  Perl Associative Array (% Array Preface)
Code:  PHP Associative Array
Code:  VB Classic Associative Array (Collection)
Code:  VB.Net Associative Array (Dictionary)

Linked Message Board Threads

 Associative Array in Coding Techniques MB Topic (1 replies)

Comments

0 Comments.
Share a thought or comment...
 
Write a Comment...
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1106A1
Enter key:
Definition Contributed By Mike Prestwood:

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains play-drums.com and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Visit Profile

 KB Article #101197 Counter
15501
Since 6/18/2008
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2020 Prestwood IT Solutions.   [Security & Privacy]