From: bbense+comp.lang.ruby.Mar.27.02@... Date: 2002-03-28T03:09:44+09:00 Subject: Re: Difference between 'do' and 'begin' -----BEGIN PGP SIGNED MESSAGE----- In article , Clemens Hintze wrote: >In james@rubyxml.com writes: > > >> > -----Original Message----- >> > From: Clemens Hintze [mailto:c.hintze@gmx.net] > >(...) > >> However, both Ruby in a Nutshell and the Pickaxe book refer to >> begin/end as blocks. So, is it incorrect to refer to > >> begin >> # some code >> end > >> as a block? > >Oops! I had not recognized this ... > >> Or is it block, but not the same sort of block as: > >I would not call it a block. In one of the replies it was called >compound statement. I think this sounds not too bad! > - - How about a "body"? It's pretty common usage to refer to the body of an if statement or while loop. - - Booker C. Bense -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBPKIFbAD83u1ILnWNAQG6sgP+P+5X934S6X2npRiy37TqP+JE/ehVqc49 eIO0QG2WSZOtPhmdBfkiJgkEjHs+jAJ7IHGyn5oS6Gk0jBdA+m+7kqNj5CY22xK7 iSWCnaOACQhIQGh5einfc/aPYEYNGlOcDB8wmA5jPFVHIhBEbjhSnUjyaQsBTI/r 5wjX+WdQnP0= =A/zs -----END PGP SIGNATURE----- --