Call a macros with its library name only works if the function is called with on
Reported by Pierre MARECHAL
-- Bug description --
Call a macros with its library name only works if the function is called with one parameter.
Pierre
-- Scilab error message --
--> elementary_functionslib.cosm(A); // OK
ans =
0.8974753 - 0.3252256 - 0.4578178
- 0.2652988 0.5693217 - 0.6717184
- 0.1863507 - 0.3847761 0.5368433
--> calendar(1979,4) // OK
ans =
ans(1)
Avr 1979
ans(2)
L Ma M Je V Sam Dim
ans(3)
0. 0. 0. 0. 0. 0. 1.
2. 3. 4. 5. 6. 7. 8.
9. 10. 11. 12. 13. 14. 15.
16. 17. 18. 19. 20. 21. 22.
23. 24. 25. 26. 27. 28. 29.
30. 0. 0. 0. 0. 0. 0.
--> timelib.calendar(1979,4) // ERROR
!--error 10000
calendar : Mauvais nombre d'arguments d'entrée.
at line 23 of function calendar called by
--> graphicslib.scf() // Nothing is done
-- How to reproduce the bug --
timelib.calendar(1979,4)
graphicslib.scf()