Re: [Scilab-users] Bug of input function in Scilab 6.0 beta 1

2016-02-26 Thread SCHULZ Wolfgang
Ok, because it is not clear whether this bug is related to another one I 
decided to enter a new bug report:
Bug 14424

Wolfgang


> -Ursprüngliche Nachricht-
> Von: users [mailto:users-boun...@lists.scilab.org] Im Auftrag von JLan
> Gesendet: Donnerstag, 25. Februar 2016 17:53
> An: users@lists.scilab.org
> Betreff: Re: [Scilab-users] Bug of input function in Scilab 6.0 beta 1
> 
> I doubt that it is related to bug 14375.
> That seems to be caused by a long temporary prompt:
> prompt('CRASH CRASH CRASH CRASH CRASH CRASH CRASH CRASH CRASH
> CRASH CRASH
> >')
> 
> But the behavior is certainly strange and inconsistent, should be reported as
> a separate bug. This is what I got once, but I cannot repeat it exactly:
> 
> --> a=input("a:");
> a:1
> a:2
> --> disp(a)
>2.
> --> b=input('b:');
> b:3
> --> disp(b)
>3.
> --> b=input("b:");
> b:4
> --> a=input("a:");
> b:5
> b:6
>  ans  =
>6.
> --> disp(a)
>2.
> --> disp(b)
>5.
> 
> 
> 
> 
> 
> --
> View this message in context: http://mailinglists.scilab.org/Scilab-users-Bug-
> of-input-function-in-Scilab-6-0-beta-1-tp4033549p4033571.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at
> Nabble.com.
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Bug of input function in Scilab 6.0 beta 1

2016-02-25 Thread JLan
I doubt that it is related to bug 14375.
That seems to be caused by a long temporary prompt:
prompt('CRASH CRASH CRASH CRASH CRASH CRASH CRASH CRASH CRASH CRASH CRASH
>')

But the behavior is certainly strange and inconsistent, should be reported
as a separate bug. This is what I got once, but I cannot repeat it exactly:

--> a=input("a:");
a:1
a:2
--> disp(a)
   2.
--> b=input('b:');
b:3
--> disp(b)
   3.
--> b=input("b:");
b:4
--> a=input("a:");
b:5
b:6
 ans  =
   6.
--> disp(a)
   2.
--> disp(b)
   5.





--
View this message in context: 
http://mailinglists.scilab.org/Scilab-users-Bug-of-input-function-in-Scilab-6-0-beta-1-tp4033549p4033571.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Bug of input function in Scilab 6.0 beta 1

2016-02-25 Thread Clément David
Hi Wolfgang,

It might be the http://bugzilla.scilab.org/show_bug.cgi?id=14375 about input 
behavior.

Regards,

--
Clément

Le jeudi 25 février 2016 à 15:00 +, SCHULZ Wolfgang a écrit :
> Clement,
> shoud I add my findings to the original bug report? In case of yes - which 
> bug report number is
> it?
> Thanks
> Wolfgang
> 
> 
> > -Ursprüngliche Nachricht-
> > Von: users [mailto:users-boun...@lists.scilab.org] Im Auftrag von Clément
> > David
> > Gesendet: Mittwoch, 24. Februar 2016 17:06
> > An: users@lists.scilab.org
> > Betreff: Re: [Scilab-users] ?==?utf-8?q? Bug of input function in Scilab 6.0
> > beta 1
> > 
> > Hi Antoine,
> > 
> > Note sure about that, we have to investigate more on that point and opening
> > two bug will leave the door open to solving issues in two ways.
> > 
> > --
> > Clément
> > 
> > 
> > Le mardi 23 février 2016 à 18:27 +0100, Antoine Monmayrant a écrit :
> > > 
> > > Le Mardi 23 Février 2016 17:16 CET, Clément David
> > >  a écrit:
> > > 
> > > > Hi Wolfgang,
> > > > 
> > > > It seems to be a bug, please report it.
> > > 
> > > Is this related to the previous 'input()' bug reported here (crashing for 
> > > long
> > input string)?
> > 
> > ___
> > users mailing list
> > users@lists.scilab.org
> > http://lists.scilab.org/mailman/listinfo/users
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Bug of input function in Scilab 6.0 beta 1

2016-02-25 Thread SCHULZ Wolfgang
Clement,
shoud I add my findings to the original bug report? In case of yes - which bug 
report number is it?
Thanks
Wolfgang


> -Ursprüngliche Nachricht-
> Von: users [mailto:users-boun...@lists.scilab.org] Im Auftrag von Clément
> David
> Gesendet: Mittwoch, 24. Februar 2016 17:06
> An: users@lists.scilab.org
> Betreff: Re: [Scilab-users] ?==?utf-8?q? Bug of input function in Scilab 6.0
> beta 1
> 
> Hi Antoine,
> 
> Note sure about that, we have to investigate more on that point and opening
> two bug will leave the door open to solving issues in two ways.
> 
> --
> Clément
> 
> 
> Le mardi 23 février 2016 à 18:27 +0100, Antoine Monmayrant a écrit :
> >
> > Le Mardi 23 Février 2016 17:16 CET, Clément David
> >  a écrit:
> >
> > > Hi Wolfgang,
> > >
> > > It seems to be a bug, please report it.
> >
> > Is this related to the previous 'input()' bug reported here (crashing for 
> > long
> input string)?
> 
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Bug of input function in Scilab 6.0 beta 1

2016-02-23 Thread Clément David
Hi Wolfgang,

It seems to be a bug, please report it.

--
Clément

Le mardi 23 février 2016 à 14:48 +, SCHULZ Wolfgang a écrit :
> Hello,
> since Scilab 6.0 beta 1 I have a problem with the input function (everything 
> worked under Scilab
> 6.0 alpha 1).
>  
> I execute the following code:
> Code:
> mode(0);
> ieee(1);
> clear;
> iteration = input("Sensor data of which Iteration:");
> name = sprintf("iteration%03d.sensor",iteration)
>  
> With Scilab 5.5.2 I enter 1 and get the following output:
> -->exec('H:\SCILAB\Problem_input_data.sce', -1)
> Sensor data of which Iteration:1
> name  =
>  iteration001.sensor  
>  
> Scilab 6.0 beta 1: I had to input “1” 2 times:
>  
> --> exec('H:\SCILAB\Problem_input_data.sce', -1)
> Sensor data of which Iteration:1
> Sensor data of which Iteration:1 name  =
>  
> iteration001.sensor
>  
> As mentioned Scilab 5.5.2 and the Scilab 6.0 alpha 1 worked without problems 
> (I didn’t try Scilab
> 6.0 alpha 2).
>  
> Is this a bug and simply a new behavior of the input function?
> Best regards
> Wolfgang
>  
>  
>  
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Bug of input function in Scilab 6.0 beta 1

2016-02-23 Thread SCHULZ Wolfgang
Hello,

since Scilab 6.0 beta 1 I have a problem with the input function (everything 
worked under Scilab 6.0 alpha 1).



I execute the following code:

Code:

mode(0);

ieee(1);

clear;

iteration = input("Sensor data of which Iteration:");

name = sprintf("iteration%03d.sensor",iteration)



With Scilab 5.5.2 I enter 1 and get the following output:

-->exec('H:\SCILAB\Problem_input_data.sce', -1)

Sensor data of which Iteration:1

name  =

 iteration001.sensor



Scilab 6.0 beta 1: I had to input "1" 2 times:



--> exec('H:\SCILAB\Problem_input_data.sce', -1)

Sensor data of which Iteration:1

Sensor data of which Iteration:1 name  =



iteration001.sensor



As mentioned Scilab 5.5.2 and the Scilab 6.0 alpha 1 worked without problems (I 
didn't try Scilab 6.0 alpha 2).



Is this a bug and simply a new behavior of the input function?

Best regards

Wolfgang






___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users