/* SI 413 Fall 2011
 * Implementations of methods from builtin.hpp
 */

#include "builtin.hpp"

void Sqr::exec(Frame* f) {
  int theArgument = f->lookup(getParam()).num();
  int square = theArgument * theArgument;
  f->rebind("ret", square);
}