Scilab Function
Last update : 4/11/39977094

input - prompt for user input

Calling Sequence

[x]=input(message,["string"])

Parameters

Description

input(message) gives the user the prompt in the text string and then waits for input from the keyboard. The input can be expression which is evaluated by evstr. If nothing but a carriage return is entered at the prompt input(message) returns an empty matrix

Invoked with two arguments, the output is a character string which is the expression entered at keyboard. If nothing but a carriage return is entered at the prompt input(message) returns an empty string

Examples


//x=input("How many iterations?")
//x=input("What is your name?","string")
 
  

See Also

evstr,  x_dialog,  x_mdialog,