Hi, i have the following problem, how can i read a Variable, taht i want to use within a also readed function.
example:
func(F,Y):- read(X),number(X),Y is F.
should yield to:
func(X+1,Y). with |:3 readed Y=4.
Thx for your help
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.