src/scripttools/debugging/scripts/commands/eval.qs
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     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 }