From: Francesc A. <fa...@ca...> - 2005-07-13 12:37:44
|
A Wednesday 13 July 2005 14:13, v=E0reu escriure: > Thanks a lots Francesc, that was exactly what i need for table. > As i modify also Array, what about modifying an a row in an array? Similar thing: array[1] =3D 1 array[1:3] =3D [1,3] array[1:10:3] =3D [1,2,3] array[1:10, :, ..., 1, 1:2] =3D [[[[[...]]]]] So, you can use fully extended slices with the exception that negative values for step (the third parameter in slice construction) are not allowed. See the reference section for Array object. By the way, I'm adding a tutorial section on array and table modifications for user's manual. It will hopefully appear on the forthcoming 1.1 release. Cheers, =2D-=20 >0,0< Francesc Altet =A0 =A0 http://www.carabos.com/ V V C=E1rabos Coop. V. =A0=A0Enjoy Data "-" |