src/scripttools/debugging/scripts/commands/eval.qs
author Alex Gilkes <alex.gilkes@nokia.com>
Mon, 11 Jan 2010 14:00:40 +0000
changeset 0 1918ee327afb
permissions -rw-r--r--
Revision: 200952

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) {
}