reads a character from the current input stream
INCLUDE 'iolib.h' readchar(Char)
readchar(Char) (o)
char(Char) (o) character that was read
Reads on character form the current input stream and matches it with Char.
write("Yes or No ? "), repeat, readchar(Char), ( member(Char,[`y,`Y]), Answer = yes ; member(Char,[`n,`N]), Answer = no ), write(Answer),nl.
No runtime errors.
prolog-process, client-server, object
get , readln , readdevice