Re: Playing with multidimensional array!?
- From: "McKirahan" <News@xxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 08:01:02 -0600
"Claude Lachapelle" <ClaudeLachapelle@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:1BD75497-1FD8-41A2-A7C1-B1C53FB895B0@xxxxxxxxxxxxxxxx
Thanks a lot for your help.
Correct me if I'm wrong (I really found that unusual!), but when accessing
data into the two dimensions array, the first parameters is always the
column, and the second one the row...
I wouldn't say "always".
To read the data in my array you might use:
Dim iCol, iRow
For iRow = 0 To UBound(aMailboxes,2)
For iCol = 0 To UBound(aMailboxes,1)
WScript.Echo iRow & "." & iCOL & " = " & aMailboxes(iCol,iRow)
Next
Next
I'm always confused with that since others old programming languages are
functionning by beginning by the row...
I've worked in COBOL, Fortran, et.al. and it was I
(the progrmammer) that determined what index meant what.
[snip]
.
- Follow-Ups:
- Re: Playing with multidimensional array!?
- From: Claude Lachapelle
- Re: Playing with multidimensional array!?
- References:
- Re: Playing with multidimensional array!?
- From: McKirahan
- Re: Playing with multidimensional array!?
- From: Claude Lachapelle
- Re: Playing with multidimensional array!?
- Prev by Date: Win32_LogonSession
- Next by Date: Re: Playing with multidimensional array!?
- Previous by thread: Re: Playing with multidimensional array!?
- Next by thread: Re: Playing with multidimensional array!?
- Index(es):