Menu

#692 always verbose in EXECUTE()

v1.0 (example)
closed
nobody
None
5
2018-04-07
2016-02-26
Alain C.
No

two weakness in EXECUTE()

1/ the argument QuietCompile (now CompileFlags in IDL) is not well enforced
and has now 3 possible values (0,1, [2 : implied print])

1a/ quietCompile = p1->True(); is not OK (odd/even effect)
1b/ line 1553 is always verbose, even if flag asks to be quiet ...
RetCode retCode = caller->Interpreter()->execute( progAST);

e.g. : ok=EXECUTE("a = ABCDEF(/version)", flag) & print, ok
(assuming ABCDEF does not exist)
if flag=0 then message should appears (syntax error)
if flag != 0 then no message at all

2/ A new argument was added to EXECUTE(), I will (try to)
add it in the arg. number but it will not be enforced

Discussion

  • Sylwester Arabas

    • status: open --> closed
     

Log in to post a comment.