Debian Codegraph @

src/scripttools/debugging/scripts/commands/eval.qs

raw
1 name = "eval";
2
3 group = "running";
4
5 shortDescription = "Evaluate program";
6
7 longDescription = "";
8
9 argumentTypes = [ "script" ];
10
11 function execute() {
12 if (arguments.length == 0) {
13 message("Missing argument (program).");
14 return;
15 }
16 setEvaluateAction(0);
17 scheduleEvaluate(getCurrentFrameIndex(), arguments[0], "console input (" + Date() + ")");
18 };
19
20 function handleResponse(resp, id) {
21 }