src/scripttools/debugging/scripts/commands/eval.qs
changeset 0 1918ee327afb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/scripttools/debugging/scripts/commands/eval.qs	Mon Jan 11 14:00:40 2010 +0000
@@ -0,0 +1,21 @@
+name = "eval";
+
+group = "running";
+
+shortDescription = "Evaluate program";
+
+longDescription = "";
+
+argumentTypes = [ "script" ];
+
+function execute() {
+    if (arguments.length == 0) {
+        message("Missing argument (program).");
+        return;
+    }
+    setEvaluateAction(0);
+    scheduleEvaluate(getCurrentFrameIndex(), arguments[0], "console input (" + Date() + ")");
+};
+
+function handleResponse(resp, id) {
+}