<html><body>
<p>Hi all,<br>
<br>
I am using Scilab for a first course on computer programming for science and engineering students. For beginers, the input statement seems to me as essential, at least for the first examples. Unfortunately, as far as I know, the bug reported many times has not yet been fixed for Scilab 5.0.*. Does someone know of some other way to construct in Scilab an interaction statement as simple as the input statement? <br>
<br>
For my purposes, an implementation of the input function as simple as the one bellow would suffice, but only if done by the Scilab team, because I dont want to give complicated instructions to my students.<br>

<ul>function r = input(msg);<br>
  printf("%s:",msg);<br>
  s = scanf("%s");<br>
  r = eval(s);<br>
endfunction </ul>
<br>
Osvaldo<br>
<br>
<br>
<tt><font size="4">Jacco Kramer said on 11/11/2008 15:52:<br>
> Hi, I just tried to use the �input� function in scilab 5.0.3 on Win XP. <br>
> When used on the commandline it works fine, but if I run it from scipad <br>
> I get errors. I couldn�t copy it: the only way to get the error was to <br>
> press enter and make a quick screenshot just before scilab shut <br>
> (itself?) down. So, I attached the screenshot to this mail.<br>
<br>
This is one of the most often reported bug.<br>
<br>
</font></tt><a href="http://bugzilla.scilab.org/show_bug.cgi?id=2578"><tt><u><font size="4" color="#0000FF">http://bugzilla.scilab.org/show_bug.cgi?id=2578</font></u></tt></a><tt><font size="4"><br>
</font></tt><a href="http://bugzilla.scilab.org/show_bug.cgi?id=1458"><tt><u><font size="4" color="#0000FF">http://bugzilla.scilab.org/show_bug.cgi?id=1458</font></u></tt></a><tt><font size="4"><br>
</font></tt><a href="http://bugzilla.scilab.org/show_bug.cgi?id=3732"><tt><u><font size="4" color="#0000FF">http://bugzilla.scilab.org/show_bug.cgi?id=3732</font></u></tt></a><tt><font size="4"><br>
... and many others<br>
<br>
Today is however special: it has been reported twice.<br>
<br>
The opteam said they "have been working on it [...but...] these bugs <br>
are not trivial to fix". Not idea about the plan for fixing it, if any.<br>
<br>
Francois<br>
</font></tt></body></html>