> Is there a nice and quick way to set a default value
> of all array elements? Say, I initialize a string
> array of 30 elements and all of them would initially
> have a value "foobar" for example. Or is for loop the
> only way to do that?
As far as I know a loop of some kind is required although if you need many identical arrays then the others can be created with the cloning facility.