Le 13/07/2014 17:29, Llelan D. a écrit :
However, "listfunctions()" acts in some strange and undocumented ways. For
example, if you start with a clean invocation of the interpreter console and
run "listfunctions()", it lists the function "listfunctions" itself. If you
do a "typeof(asinh)" and then a "listfunctions()", it will now list "! asinh
typeof listfunctions !".
When an unknown symbol looking like the call to a function is met, Scilab scans the list of functions registered in loaded libraries. If a function name matches the symbol, it is loaded from the related library. This means that every function registered in a loaded library is loaded only when it is first called. In your experiment, it is the case for typeof and asinh and selfly for listfunctions. So, the answer from listfunctions is normal.

Samuel

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to