awesome.. works like a charm, but one small problem..
shouldnt the variables (A,B,C,D,etc) (i removed the _), unify with the variables i have declared above?
I am trying to write a program in prolog but am stuck on how to go on about doing this step.
I have a file (i.e test.txt), which has numbers in it like:
492255345
234523668
234653547
etc.. and I am interested in unifying each character (number) to a variable I have already assigned a rule in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.