void CBotVar::debug() { // const char* p = static_cast<const char*>( m_token->GetString()); CBotString s = static_cast<const char*>( GetValString()); // const char* v = static_cast<const char*> (s); if ( m_type.Eq(CBotTypClass) ) { CBotVar* pv = (static_cast<CBotVarClass*>(this))->m_pVar; while (pv != NULL) { pv->debug(); pv = pv->GetNext(); } } }