RE: Array/Hash Slices, multidimensional

2004-04-16 Thread Aaron Sherman
On Thu, 2004-04-15 at 18:23, Austin Hastings wrote: @matrix... = 1 0 0 1; Keep in mind that you're using a quoting operator. For numbers, you can just use (0, 1, 2, 3) and probably be better understood. (The list of numbers approach will work, but it will take all the numbers through a

RE: Array/Hash Slices, multidimensional

2004-04-16 Thread Abhijit A. Mahabal
On Fri, 16 Apr 2004, Aaron Sherman wrote: @matrix... = 1 0 0 1; In the case of: @matrix = 1 2 3 4 5; You need only add the type: int @matrix = 1 2 3 4 5; There is no string phase, or at least should never be. The compiler can pre-compute the list: int

Array/Hash Slices, multidimensional

2004-04-15 Thread Abhijit A. Mahabal
As the hash syntax is being worked out, I thought it'd be a good time to ask if the following will be supported in some form: If I have some structure like %foo{monday}, %foo{tuesday} etc, I can set their values enmass using: %foomonday tuesday wednesday = a b c; What if I had

RE: Array/Hash Slices, multidimensional

2004-04-15 Thread Austin Hastings
-Original Message- From: Abhijit A. Mahabal [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 April, 2004 05:13 PM To: [EMAIL PROTECTED] Subject: Array/Hash Slices, multidimensional As the hash syntax is being worked out, I thought it'd be a good time to ask if the following

Re: Array/Hash Slices, multidimensional

2004-04-15 Thread Luke Palmer
Austin Hastings writes: -Original Message- From: Abhijit A. Mahabal [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 April, 2004 05:13 PM To: [EMAIL PROTECTED] Subject: Array/Hash Slices, multidimensional As the hash syntax is being worked out, I thought it'd be a good time