input

input — prompt for user input

Calling sequence

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

Parameters

message : character string
"string" : the character string "string" (may be abbreviated to "s")
x : real number (or character string if "string" is in the calling sequence)

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.

Invoked with two arguments, the output is a character string which is the expression entered at keyboard.

Examples



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

See also

file, read, write, evstr, x_dialog, x_mdialog