[Scilab-Dev] Release Scilab 6.0.0 alpha 2
Clément David
clement.david at scilab-enterprises.com
Wed Dec 2 11:48:27 CET 2015
Hi,
Yep the described behavior is well known and is globally similar to the one used in Scilab 5 (the
macro function should be named accordingly to the file name). If you find some differences, please
open a bug !
--
Clément
Le mercredi 02 décembre 2015 à 02:09 +0000, CL Chin Luh a écrit :
> Hi,
>
> I tried to port guibuilder to 6.0 but facing some issue in loading the macros.
>
> Some .sci files in the macros folder contains more than 1 function, when loading the .sci files
> with exec command all the functions would be loaded successfully. However, after building the
> module, the bin or macros lib created, and load the module from the toolboxes toolbar, only the
> first function is loaded.
>
> I tried to duplicate the issue with the scilab 6.0 atoms module toolbox_1V6 from the atoms portal,
> adding in another function to one of the macro as follow:
> // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
> // Copyright (C) 2009 - DIGITEO - Pierre MARECHAL <pierre.marechal at scilab.org>
> //
> // This file must be used under the terms of the CeCILL.
> // This source file is licensed as described in the file COPYING, which
> // you should have received as part of this distribution. The terms
> // are also available at
> // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
>
> function str=t1_function1()
>
> str = "Toolbox 1 -> Function 1";
>
> endfunction
>
> function str=t1_function1sub()
>
> str = "Toolbox 1 -> Function 1sub";
>
> endfunction
>
> When exec the t1_function1, both t1_function1 and t1_function1sub would be loaded.
>
> After I rebuild the module, and make sure the bin is newly created, restart Scilab and load the
> module, the t1_function1sub would not be loaded.
>
> Thanks.
>
> Regards,
> Chin Luh
>
>
> > To: dev at lists.scilab.org
> > From: sgougeon at free.fr
> > Date: Tue, 1 Dec 2015 22:54:02 +0100
> > Subject: Re: [Scilab-Dev] Release Scilab 6.0.0 alpha 2
> >
> > Hi,
> > You may try to copy/paste SCI\.atoms, SCI\config, SCIHOME\.atoms and
> > SCIHOME\config directories from 5.5.2 to 6.0.
> > The original SCI\.atoms may first be renamed SCI\.atoms0 before processing.
> > And then run atomsGui() as usually.
> > HTH
> > Samuel Gougeon
> >
> >
> > Le 01/12/2015 22:35, Jean-Pierre Dussault a écrit :
> > >
> > > Hi!
> > >
> > > for quick testing, how may I port my already installed toolboxes from
> > > 5.5.1 to the 6.0.0 alpha environment without downloading all of them
> > > afresh from the atoms application?
> > >
> > > Thx,
> > >
> > > JPD
> >
> > _______________________________________________
> > dev mailing list
> > dev at lists.scilab.org
> > http://lists.scilab.org/mailman/listinfo/dev
> _______________________________________________
> dev mailing list
> dev at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20151202/a017d338/attachment.htm>
More information about the dev
mailing list