P
Peter Fitzgibbons
------_=_NextPart_001_01C5A2A7.BDAC85C3
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I have an array :
a =3D
[ [10, 11], [20, 21],
[12, 13], [22, 23],
[30, 31], [40, 41],=20
[32, 33], [42, 43] ]
I want to know how to manipulate the array to get :
a.grid(1)
=3D=3D> [10, 11], [12, 13]
A.grid(2)
=3D=3D> [20, 21], [22, 23]
A.grid(3)
=3D=3D> [30, 31], [32, 33]
A.grid(4)
=3D=3D> [40, 41], [42, 43]
B =3D a.grid(1)
=3D=3D> [10, 11], [12, 13]
B[1][1]
=3D=3D> 10
B[2][2]
=3D=3D> 13
A.row(1)
=3D=3D> [10, 11, 20, 21]
A.col(1)
=3D=3D> [10, 12, 30, 32]
Many many thanks for your examples.
Peter J. Fitzgibbons
Applications Manager
Lakewood Homes - "The American Dream Builder"(r)
(e-mail address removed)
(847) 884-8800=20
------_=_NextPart_001_01C5A2A7.BDAC85C3--
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I have an array :
a =3D
[ [10, 11], [20, 21],
[12, 13], [22, 23],
[30, 31], [40, 41],=20
[32, 33], [42, 43] ]
I want to know how to manipulate the array to get :
a.grid(1)
=3D=3D> [10, 11], [12, 13]
A.grid(2)
=3D=3D> [20, 21], [22, 23]
A.grid(3)
=3D=3D> [30, 31], [32, 33]
A.grid(4)
=3D=3D> [40, 41], [42, 43]
B =3D a.grid(1)
=3D=3D> [10, 11], [12, 13]
B[1][1]
=3D=3D> 10
B[2][2]
=3D=3D> 13
A.row(1)
=3D=3D> [10, 11, 20, 21]
A.col(1)
=3D=3D> [10, 12, 30, 32]
Many many thanks for your examples.
Peter J. Fitzgibbons
Applications Manager
Lakewood Homes - "The American Dream Builder"(r)
(e-mail address removed)
(847) 884-8800=20
------_=_NextPart_001_01C5A2A7.BDAC85C3--