
readtext - reading-in a character string from a file

Calling sequence:

readtext(string)

Parameter:

string   --  character string

Summary:

readtext reads-in the file with the name string as a character string. This
character string is then returned by readtext.

As with read the file is firstly searched for in the directories given by the
variable READ_PATH. Then it is searched for in the current directory. (This is
the directory in which MuPAD was started.) Finally the file is searched for
in the directory given by the variable LIB_PATH.

readtext returns the error Can't read from file if the file cannot be
opened for reading. readtext is a kernel function.

>>  t:="Testtext": overwrite(t,"testfile"):
   readtext("testfile");

     "t:=hold("Testtext"):"

See also:  read, write , overwrite , READ_PATH , LIB_PATH

