summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/scripts/commands/print.qs
blob: 9b98d169fb69f291c92c9ceb2ac56805c9657594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// ### 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) {
}