A spreadsheet analogy usually works well. A single dimension array is
like 1 row in a spreadsheet. The array name is the row label (ex.
"A") and the column numbers let you cycle through values - A1, A2,
A3...

Most people will get that since spreadsheets are so common. And you
can build from there to 2 dimensional arrays, since they also map to
spreadsheet rows & columns. Depending on what you are teaching you
need to note that array values start at position 0, not 1; which
always leads to some referencing mistakes at first, but it's not
that difficult a concept to get.


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Posted from the new ixda.org
http://www.ixda.org/discuss?post=39343


________________________________________________________________
Welcome to the Interaction Design Association (IxDA)!
To post to this list ....... [email protected]
Unsubscribe ................ http://www.ixda.org/unsubscribe
List Guidelines ............ http://www.ixda.org/guidelines
List Help .................. http://www.ixda.org/help

Reply via email to