#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"; bool ObjectBase::Save(const char* fname) const { size_t size,offset=0,wr; const int8_t* dptr; FILE* fd; int serrno; fd=fopen(fname,"w"); serrno=errno; if(0==fd) { COUT(ERROR)<<"Can't open file "<Evaluate(err); if(*err) { COUT(ERROR)<<" in function call "<second))(args); if(ret!=0) return ret; } *err=true; COUT(ERROR)<<"Function "<Dump()<