New problem with the input function
Reported by W. Schulz
BUG DESCRIPTION:
----------------
There are new problems with the input function (everything worked fine with SCILAB 6.0 alpha 1).
I discussed it on the mailing list and it seems that there are other bugs reported with the input function which might be related (e.g.14375)
I'm using Win 7 x64!
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
Execute the following 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
OTHER INFORMATION:
------------------
I didn' test with SCILAB 6.0 alpha 2