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