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).
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().