count(0):-!. count(X):- writef('%t\n',[X]), succ(XN,X), count(XN). :- count(100).
Standard input is empty
prog.pl:7: warning: unknown directive count/1 - maybe use initialization/1 - directive ignored /home/NhpBVt/gplcO0s3gb.o: In function `Lpred1_1': (.text+0xa7): undefined reference to `predicate(writef/2)' /home/NhpBVt/gplcO0s3gb.o: In function `Lpred1_1': (.text+0xd1): undefined reference to `predicate(succ/2)' collect2: ld returned 1 exit status compilation failed
Standard output is empty