is it possible to get a word from a text file and insert that word as a value of a variable?
e.g. text file contains the nina
the prolog program will assign "nina" as a value of the variable 'Name'. thus the predicate
person(Name)
is the same as
person(nina)
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.