John,

Thanks for your comments.

>Besides, arrays *are* multidimensional.  For example:

>put 1 into a[1,3,7] # three-dimensional array
>put a[a[1,3,7],a[1,3,7]+2,a[1,3,7]+6]  returns 1

Yes I'm aware of this - and it is a useful feature for certain things like graphics.  
Really though this is just allowing commas to be used in keys.

put 1 into a[1,3,7]
put 1 into a[test]
put 1 into a[bob,fred,sally]

put the keys of bob -->
  1,3,7
  test
  bob,fred,sally

A true multi-dimensional array would permit arrays within arrays.

 I am happy to have the array features 2.4 has, they are incredibly useful.  I just 
think this is an area of the language which it would be useful to extend further.

Rodney
-- 
--
Rodney Tamblyn
Educational Media group
Higher Education Development Centre, 75 Union Place
University of Otago, PO Box 56, Dunedin, New Zealand
ph +64 3 479 7580 Fax +64 3 479 8362
http://hedc.otago.ac.nz ~ http://rodney.weblogs.com


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to