Re: Variables scope

Jorrit Tyberghein <[email protected]>
Newsgroups gmane.games.devel.general
Message-ID <[email protected]>
Kristoffer Grönlund wrote:

>The way I've worked around this in the past has been by redefining for as
>follows:
>#define for if (false) {} else for
>
>Yes, it's a hideously ugly hack, but so is the problem in the first place.
>I've never had any problems because of it.
>  
>
Hmm... sounds like an ugly solution for something that is more simply 
solved by just
declaring the loop counter outside the for.

Greetings,




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=557
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.