I’m using: SWI-Prolog version: 6.6.6
I have the following code:
read_line(Stream, Number) :-
I have to insert the number 0140 but keep it all because I need it as it is (0140) for my problem. However, converting it to number with atom_number ruins the number to 140 and my solution for the problem gives false result.