The code for input(message) (see
/usr/share/scilab/modules/io/macros/input.sci) calls prompt(message) and
then mscanf(format_string). The prompt() function is meant to modify the
prompt for the next user interaction, but for some reason calling this
function does nothing at all.

As calls to prompt(new_prompt) do nothing the default prompt ('-->') is
shown instead, but any content typed by the user is used for the
previous input(message) call. This is a bit misleading for the user, as
it seems/feels like nothing happened after the input(message) call, but
scilab is in fact expecting the response for the input(message).

I found http://bugzilla.scilab.org/show_bug.cgi?id=14998 reported
stating that input(message) should instead be calling mprintf() instead
of prompt().

** Bug watch added: Scilab bugtracker #14998
   http://bugzilla.scilab.org/show_bug.cgi?id=14998

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825609

Title:
  Scilab does not work properly. version 6.0.1 Ubuntu 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/scilab/+bug/1825609/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to