sub.cpp

Go to the documentation of this file.
00001 #include "text.h"
00002 #include "image.h"
00003 #include "runtime.h"
00004 #include "point.h"
00005 
00010 Value * Runtime::sub(vector<Value*> values)
00011 {
00012   if (values.size()==1)
00013     return neg(values[0]);
00014   else if (values.size()==2)
00015     return add(values[0],neg(values[1]));
00016   return NULL;
00017 }

Generated on Mon Jun 5 22:08:42 2006 for iis by  doxygen 1.4.6