New Array proposal (So that it will actually be read)

Andrew Nguyen pythonnet at hotmail.com
Fri Dec 28 00:13:57 EST 2001


I think that an array sould have natural dimension support,
instead of :

List = [[4,4,4],
        [3,3,3]]

Just to define it, we should do this:

List|A,B,C|
to make a 3 dimensional array, so if I did this:

List|4,2| it would call up the variable from 4:2.

to put variables in, we would do this:

List = | | |1,1|,|1,1| | , |1,1|, | and so on, so that they have 3 parts, but...
to get to them 
blah blah blah blah blah....
But, with natural dimension support,
List(1,1,1) = 1
List(2,3,1) = 1
and so on...
List(2,4,1,5,8,4) = 6



More information about the Python-list mailing list