program :- get_char(X),get_char(Y),check(X,Y). check('4','2'):-!. :- program.
1 2 10 9 0 10 42
GNU Prolog 1.3.1
By Daniel Diaz
Copyright (C) 1999-2009 Daniel Diaz
uncaught exception: error(syntax_error('user_input:2 (char:1) . or operator expected after expression'),read_term/3)