is there a real educational book about how to build project
Posted: 8 Dec 2013 10:10
we need a book that show how build a project
that have simple and big example with explain not just code
books on visual prolog.com website is not helpful ,it do not have example ,till now i still do not know how to build a full prj ,
and how to test a function that is determ multi nondeterm ,
show erro :goal must be procedure
how and why
another problem
use function as varible
i guess it may be ,pls right the right code
DOMAINS
that have simple and big example with explain not just code
books on visual prolog.com website is not helpful ,it do not have example ,till now i still do not know how to build a full prj ,
and how to test a function that is determ multi nondeterm ,
Code: Select all
predicates
fun(a,b)determ (i,o)
goal
myfunc::fun(a,b)
how and why
another problem
use function as varible
i guess it may be ,pls right the right code
DOMAINS
Code: Select all
predicates
usefunc(string word,function func{T1,T2})
clauses
do:-
readln(word )
readln(A,B)
usefunc(word,func{T1,T2})
word = update %means if word is update it will call update function
func(A,B) % IF word is delete mean it will call delete function