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)
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)