PLOGHELP GET0 Chris Mellish, August 1982 Revised by Kathryn Seifert October 1986 Predicate which reads the next character from the current input. ?- get0(X). Keywords: input, i/o, printing characters Reads the next character X from the current input. 'get0' returns CTRL/Z (26) if it encounters an end-of-file. -- RELATED DOCUMENTATION ---------------------------------------------- PLOGHELP * I_O Overview of input/output operations in Prolog PLOGHELP * GET Predicate which reads characters from current input and returns first printing character. PLOGHELP * TTYGET Predicate which reads characters from the terminal and returns first printing character. PLOGHELP * TTYGET0 Predicate which reads next character from the terminal. --- C.all/plog/help/get0 --- Copyright University of Sussex 1989. All rights reserved. ----------