On Thu, 24 Jan 2002, Naveen Parmar wrote:

> Hello,
>
> What does % represent in the following statement?
> %daysPerMonth = ('Jan' => 31, 'Feb' => 28, 'Mar' => 31);
>
> Is %daysPerMonth an array? Do we really need an array for this?
>
> TIA,
> - NP
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



That should be an associative array. An associative array differs from an
array because you can define the keys as well as the values.

As a standard array(enumerated, i think) the keys are started at 0 and
just keep incrementing everytime an element is added to the array.



Thank you,
Steve Maroney





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to