Debian Codegraph @

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

raw
1 // ### exactly the same as eval, but provided for convenience
2
3 name = "print";
4
5 group = "status";
6
7 shortDescription = "Print value of an expression";
8
9 longDescription = "";
10
11 argumentTypes = [ "script" ];
12
13 function execute() {
14 if (arguments.length == 0) {
15 message("Missing argument (expression).");
16 return;
17 }
18 setEvaluateAction(0);
19 scheduleEvaluate(getCurrentFrameIndex(), arguments[0], "console input (" + Date() + ")");
20 };
21
22 function handleResponse(resp, id) {
23 }