diff -r 000000000000 -r 1918ee327afb src/scripttools/debugging/scripts/commands/print.qs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/scripttools/debugging/scripts/commands/print.qs Mon Jan 11 14:00:40 2010 +0000 @@ -0,0 +1,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) { +}