On Wed, Jan 29, 2003 at 09:07:37PM +0100, Juergen Boemmels wrote:
> Jonathan Scott Duff <[EMAIL PROTECTED]> writes:
> > Can someone give me a realish world example of when you would want an
> > array that can store both undefined values and default values and those
> > values are different?
> 
> Ok, here is one
> 
> my float @weight_factor is default (1.0);
> 
> $weighted_sum = sum (@weight_factor »*« @a);
> 
> $weight_factor[4711] = 0.0;

I see no undefined things there.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to