input "f" -- reads and executes the commands found in the file named f, echoing the input, printing the values, and incrementing the line number.
The file is sought along the path, unless the name of the file begins with '/' or './' or '../' .
If one of the expressions in the file evaluates to the symbol end the reading of the file is stopped at that point.
If an error occurs while evaluating the expressions in the file, reading is stopped.
See also:
Code:
-- code for input: -- ../m2/setup.m2:205-210 input = (filename) -> ( oldnotify := notify; notify = false; if not tryload(filename,oldinput) then error ("can't open file ", filename); notify = oldnotify; )