diff options
Diffstat (limited to 'js/Misc/DEBUG.js')
-rw-r--r-- | js/Misc/DEBUG.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js index 0368a759..9aa7813d 100644 --- a/js/Misc/DEBUG.js +++ b/js/Misc/DEBUG.js @@ -19,7 +19,7 @@ exprs=graphics.exprs; textmp=exprs[2-1]; ok=true; while (1==1) { -[txt]=dialog([["Enter scilab instructions for debugging."],[" Inputs are block and flag, output is block"]],textmp); +[txt]=dialog[[["Enter scilab instructions for debugging."],[" Inputs are block and flag, output is block"]]-1][textmp-1]; if (txt!=[]) { tt=["block=debug_scicos(block,flag)"]; if (execstr("deff(tt,txt)","errcatch")==0) { |