
textinput - interactive input of text

Calling sequence:
textinput(expr ...)
textinput()

Parameter:

expr   --  character string or identifier

Summary:

textinput is used for the interactive requestof strings.  The arguments of
textinput can be any series of character strings or identifiers. The character
strings are printed in sequence, with identifiers the user receives a prompt and
the user can enter a character string. This character string is then assigned
to the identifier. The return value of textinput is the last character string
entered by the user.

If textinput is called without arguments then only a prompt is printed and a
character string is expected as input. This is the return value of the function.

When a character string is entered the enclosing " should not be given. The
character string may extend over several lines. The individual lines are then
separated in the character string by a \n.  By use of textinput it is not
possible to mask the end of a line with a backslash. In contrast to the usual

input mode a backslash can be followed by any characters. In the terminal
version of MuPAD input is closed with <Ctrl-D>.

More information about input can be found in the description of the user's
interfaces. textinput is a kernel function.

>>  textinput("Name", n);

      Name >>MuPAD
      "MuPAD"

>>  inp := textinput();

      >>test
      "test"

See also:  input

