Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1724: Variable with name nowDB isn't recognized
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - May 28 2009 :  08:05:38 AM  Show Profile  Reply with Quote
Look at this code:


void Foo()
{
  COleDateTime nowClient = COleDateTime::GetCurrentTime(),
               nowDB = COleDateTime::GetCurrentTime();

  if (nowClient!=nowDB)
    return;
}


VA-X doesn't recognize nowDB. It is shown red underlined. In the declaration. And it is shown black (not grey) in the if statement.

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 28 2009 :  5:14:32 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=27569
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000