#include "object.h" #include "globals.h" template<> EXPORT std::string ObjectSimple::type="bool"; template<> EXPORT std::string ObjectSimple::type="integer"; template<> EXPORT std::string ObjectSimple::type="real"; template<> EXPORT std::string ObjectSimple::type="string"; inline ObjectBase* OFunc::Evaluate(bool* err) { *err=false; if(G_funcs.find(name)==G_funcs.end()) { *err=true; COUT(ERROR)<<"Function "<Evaluate(err); if(*err) { COUT(ERROR)<<" in function call "<second))(args); if(ret!=0) return ret; } *err=true; COUT(ERROR)<<"Function "<Dump()<