[openbeos] Re: Open-beos-cvs digest, Vol 1 #1587 - 8 msgs

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 15 May 2003 21:02:38 +0200 CEST

Tyler Dauwalder <tyler@xxxxxxxxxxxxx> wrote:
> On 2003-05-14 at 17:03:19 [-0700], Axel Dörfler wrote:
> > > Conform to new scoping rules for variables defined in a for loop
> > >      status_t err = BArchivable::Archive(archive, deep);
> > Have I missed the evolution? What new scoping rules? Did M$ win? I
> > always hated VC++ for that...
> Well, hold on a second. If you look at the entire function in 
> Shape.cpp, you'll notice the original code was something like this:
> ...
> Feels much better to me, given the second loop. :-)

Oh yes, I hadn't seen the whole story, now, that clears it up, thanks! 
:-)

Adios...
   Axel.


Other related posts: