Like Sina said not possible. Now with that said you might have it declared else where that you have not seen for example you could have it declared global in a header or even external in a total other file and then just referenced in a header. So the short answer is nope not possible and the long answer is it could be declared else where. Ken -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Sean Farrow Sent: Wednesday, August 06, 2008 2:47 AM To: programmingblind@xxxxxxxxxxxxx Subject: C++ compiler issue Hi: When trying to convert a project from vs2003 to 2005, I have a for loop where a variable is used with out declaration. Two queries: 1. did such a construct compile in vs2003? 2. can I turn on a compiler option to enable this in vs2005? Cheers Sean. __________ Information from ESET NOD32 Antivirus, version of virus signature database 3331 (20080806) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind