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.