Arrays

L

loleta

Hi everybody,
I have a question about the single and multidimension
array. Can anybody tell me when should i use the
multidimension array? I feel I can use the single array
sufficiently and no use of the multidimension array. Can
you give me an example when should i use the
multidimention array?
Thanks in advance
 
J

jernej goricki

you use multidimensional arrays when you need them, for example a 2
dimensional array looks like a table.

(0,0)(0,1)(0,2)
(1,0)(1,1)(1,2)
(2,0)(2,1)(2,2)

It depends what kind of data do you want to save to a array variable.
 
C

Cor

Hi,
An array is nothing more than another name for a table.
A table with one column is a single dimension array
A table with more columns is a 2 dimension array
A tabel that shows as a box is a 3 dimension array
Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top