Hi Christophe
Good points. I guess one thing I could do is to delete the entire
Prettify from my file (and not call Prettify). Then see if Scilab 6
complains.
It's weird, though, that the errors are prior to execution of any code.
I guess Scilab first "reads" the entire code somehow and if there's
anything less than perfect, it breaks and cannot start stepping through
the code.
/Claus
On 08-09-2017 09:43, Dang Ngoc Chan, Christophe wrote:
Hello,
De : Pierre Vuillemin
Envoyé : jeudi 7 septembre 2017 22:20
Or you may want to comment suspicious parts of your code until there is no more
error....
A very efficient way to isolate the error is to use dichotomy.
Normally, the core of your script should consist in calling functions.
So remove the first half of the functions and see if you get the error.
If not, remove the other half.
You can then isolate in which half your function is.
Remove then the first half of the problematic half etc.
If both fail, then the problematic part is in the core
And you can isolate it in the same way.
Regards
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error), please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users