source: trunk/src/scripttools/debugging/scripts/commands/print.qs@ 5

Last change on this file since 5 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 494 bytes
Line 
1// ### exactly the same as eval, but provided for convenience
2
3name = "print";
4
5group = "status";
6
7shortDescription = "Print value of an expression";
8
9longDescription = "";
10
11argumentTypes = [ "script" ];
12
13function 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
22function handleResponse(resp, id) {
23}
Note: See TracBrowser for help on using the repository browser.