Le 15/07/2015 14:35, Samuel Gougeon a écrit :
Le 15/07/2015 13:24, Antoine ELIAS a écrit :
.../...
Scilab 6, no more create "names" file.
New "lib" file ( xml format, it is readable ) contains all needed
information.
.
Why not renaming it lib.xml?
1) This would better show its format, and -- overall --
2) this would allow to distribute modules containing only macros under
a *single version* compatible with *both* Scilab 5 and Scilab 6
(including both {"lib" and "names"} and "lib.xml" files), since .bin
contents are unchanged: .bin generated with YaSp look OK for Scilab 5,
and conversely.
.
OK: a module may provide both lib files, and in its startup file, test
the Scilab version and copy the right lib file in its ~\macros\ directory.
But this is quite tricky. From now (5.5) and until Scilab 6.1, genlib()
could generate both "lib" and "lib.xml" files, and lib() use the right
file among both.
This would make the transition softer.
_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev