[Scilab-users] Re : Problems with mfile2sci
Samuel Gougeon
sgougeon at free.fr
Tue Oct 8 12:21:07 CEST 2019
Le 08/10/2019 à 03:39, Federico Miyara a écrit :
>
> Samuel,
>
> Thanks. As I'm not quite sure how to load the fix, I've removed all
> instances of "end" as an index and defined the required value
> explicitly with a different, non-reserved name.
>
> But I get the same result ("no translation made..."). I wonder if
> there may be another regression...
Please do the following, assuming that you have write access to the SCI
directory:
cd SCI/modules/m2sci/macros/kernel
edit m2sci_syntax.sci
// Replace the line #211
endofhelp = stripblanks(part(tk,1:kc-1))<>"" & ~protoline
with
if stripblanks(part(tk,1:kc-1))<>"" & ~protoline
endofhelp = %t;
end
// Save. Then
--> genlib m2scikernellib
--> clear m2sci_syntax
And re-run mfile2sci.
As with Scilab 6.0.0, the conversion now actually starts, and you will
get an error after the line #91 of your script, to be reported as well,
separately.
Regards
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20191008/c1b23f2d/attachment.htm>
More information about the users
mailing list