The terminator



next up previous contents
Next: The indirect character Up: No Title Previous: The continuation character

The terminator

When a user inputs a line, the first few characters are checked for two special strings: the EOF string and the indirect character. Both terminators must start at the first character of the string. The EOF string (by default the /*) is a way of producing an end-of-file signal for the read. For terminal input, an equivalent way of generating an end-of-file is a CTRL-Z (this also can be used to terminate the previous input line). For example:

/*  ! This is a generated EOF
 /* ! This is a single argument input string "/*".



Keith Arnaud
Fri Nov 18 16:30:43 EST 1994