<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi, <BR> <BR>I tried to port guibuilder to 6.0 but facing some issue in loading the macros. <BR> <BR>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. <BR> <BR>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:<BR><pre style="font-family: Monospaced; font-size: 12px; font-style: normal;"><span style="color: rgb(100, 174, 100); font-style: italic;">// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab</span>
<span style="color: rgb(100, 174, 100); font-style: italic;">// Copyright (C) 2009 - DIGITEO - Pierre MARECHAL </span><span style="color: rgb(100, 174, 100); font-style: italic;"><</span><span style="color: rgb(100, 174, 100); font-style: italic;">pierre.marechal@scilab.org</span><span style="color: rgb(100, 174, 100); font-style: italic;">></span>
<span style="color: rgb(100, 174, 100); font-style: italic;">//</span>
<span style="color: rgb(100, 174, 100); font-style: italic;">// This file must be used under the terms of the CeCILL.</span>
<span style="color: rgb(100, 174, 100); font-style: italic;">// This source file is licensed as described in the file COPYING, which</span>
<span style="color: rgb(100, 174, 100); font-style: italic;">// you should have received as part of this distribution.  The terms</span>
<span style="color: rgb(100, 174, 100); font-style: italic;">// are also available at</span>
<span style="color: rgb(100, 174, 100); font-style: italic;">// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt</span>

<span style="color: rgb(176, 24, 19);">function</span> <span style="color: rgb(131, 67, 16); font-weight: bold;">str</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0); text-decoration: underline;">t1_function1</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(74, 85, 219);">)</span>
    
    <span style="color: rgb(131, 67, 16); font-weight: bold;">str</span> <span style="color: rgb(92, 92, 92);">=</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Toolbox 1 -</span><span style="color: rgb(188, 143, 143);">></span><span style="color: rgb(188, 143, 143);"> Function 1</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">;</span>
    
<span style="color: rgb(176, 24, 19);">endfunction</span>

<span style="color: rgb(176, 24, 19);">function</span> <span style="color: rgb(131, 67, 16); font-weight: bold;">str</span><span style="color: rgb(92, 92, 92);">=</span><span style="color: rgb(0, 0, 0); text-decoration: underline;">t1_function1sub</span><span style="color: rgb(74, 85, 219);">(</span><span style="color: rgb(74, 85, 219);">)</span>
    
    <span style="color: rgb(131, 67, 16); font-weight: bold;">str</span> <span style="color: rgb(92, 92, 92);">=</span> <span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(188, 143, 143);">Toolbox 1 -</span><span style="color: rgb(188, 143, 143);">></span><span style="color: rgb(188, 143, 143);"> Function 1sub</span><span style="color: rgb(188, 143, 143);">"</span><span style="color: rgb(0, 0, 0);">;</span>
    
<span style="color: rgb(176, 24, 19);">endfunction</span></pre><br>When exec the t1_function1, both t1_function1 and t1_function1sub would be loaded.<BR> <BR>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.<BR> <BR>Thanks.<BR> <BR>Regards,<BR>Chin Luh<BR><div> </div><div> </div><div>> To: dev@lists.scilab.org<br>> From: sgougeon@free.fr<br>> Date: Tue, 1 Dec 2015 22:54:02 +0100<br>> Subject: Re: [Scilab-Dev] Release Scilab 6.0.0 alpha 2<br>> <br>> Hi,<br>> You may try to copy/paste SCI\.atoms, SCI\config, SCIHOME\.atoms and <br>> SCIHOME\config directories from 5.5.2 to 6.0.<br>> The original SCI\.atoms may first be renamed SCI\.atoms0 before processing.<br>> And then run atomsGui() as usually.<br>> HTH<br>> Samuel Gougeon<br>> <br>> <br>> Le 01/12/2015 22:35, Jean-Pierre Dussault a écrit :<br>> ><br>> > Hi!<br>> ><br>> > for quick testing, how may I port my already installed toolboxes from <br>> > 5.5.1 to the 6.0.0 alpha environment without downloading all of them <br>> > afresh from the atoms application?<br>> ><br>> > Thx,<br>> ><br>> > JPD<br>> <br>> _______________________________________________<br>> dev mailing list<br>> dev@lists.scilab.org<br>> http://lists.scilab.org/mailman/listinfo/dev<br></div>                                       </div></body>
</html>