src/scripttools/debugging/scripts/commands/print.qs
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Fri, 16 Apr 2010 11:39:52 +0300
branchRCL_3
changeset 9 740e5562c97f
parent 0 1918ee327afb
permissions -rw-r--r--
8b5beb2a553102639e9eb38c8f8f0f6775e8545b

// ### exactly the same as eval, but provided for convenience

name = "print";

group = "status";

shortDescription = "Print value of an expression";

longDescription = "";

argumentTypes = [ "script" ];

function execute() {
    if (arguments.length == 0) {
        message("Missing argument (expression).");
        return;
    }
    setEvaluateAction(0);
    scheduleEvaluate(getCurrentFrameIndex(), arguments[0], "console input (" + Date() + ")");
};

function handleResponse(resp, id) {
}