Jump to content

Talk:Creating an Array: Difference between revisions

Python, and Dim multidimentional arrays
(Python, and Dim multidimentional arrays)
Line 28:
::</quote>
:This is in fact wrong, 'echo $array[1][3] would print the 4th element within the second element, not the 3rd one. I'll edit tonight or something... --[[User:CrashandDie|CrashandDie]] 07:18, 2 July 2007 (EDT)
 
== Python ==
Is there any easy way to do a Dim (like from Basic) on Python, as a multidimentional array?
'a=[0]*8' seems to be similar to 'dim a[8]', but i have no idea about how to do on an at least bidimentional array, since neither 'a=[0][0]*8' nor 'a=[0]*8[0]*8' works...
 
== Merge Create, Assign, and Retreive from Array ==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.