Logo Search packages:      
Sourcecode: ktechlab version File versions

void Microbe::addVariable ( const Variable variable  ) 

Appends the given variable name to the variable list.

Definition at line 419 of file microbe.cpp.

References isVariableKnown(), Variable::name(), and Variable::type().

Referenced by Parser::processAssignment(), and Parser::processStatement().

      if ( variable.type() == Variable::invalidType )
      if ( !isVariableKnown( variable.name() ) )
            m_variables << variable;

Generated by  Doxygen 1.6.0   Back to index