Daniel Riera wrote: > Ups!, > > should I then do something like this? > > (search(...,backtracks[N]) -> true; > getval(backtrack(BT),fail > ) Yes, although you probably don't want to cut, so better ( search(..., [backtrack(N)]), writeln(backtracks:N) ; getval(backtrack, N)@ic_search, writeln(backtracks:N), fail ) -- JoachimReceived on Thu Sep 03 2009 - 03:33:34 CEST
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET