# Re: Beginner Needs Help

**URL:** <https://www.ruby-forum.com/t/re-beginner-needs-help/76250>\
**Category:** Ruby\
**Created:** [November 16, 2006, 11:24pm UTC](https://www.ruby-forum.com/t/re-beginner-needs-help/76250 "2006-11-16T23:24:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [November 16, 2006, 11:24pm UTC](https://www.ruby-forum.com/t/re-beginner-needs-help/76250/1 "2006-11-16T23:24:08Z")

</div>

> > super  
> > irb(main):024:0\> hands = Array.new(4) {|idx| Array.new(4)}  
> > =\> [[nil, nil, nil, nil], [nil, nil, nil, nil], [nil, nil, nil, nil],  
> > [nil, nil, nil, nil]]
> 
> Regards,
> 
> Bill

Ah, thanks Bill and others who might respond. All I have to do is set  
the  
initial values of hands to 0, not nil.

beep beep

Charlie
