On 01/15/2015 04:47 PM, Юлия Домбровская wrote:
> Hi! Please, help me to make a cycle without recursion using swi-prolog.
> Unfortunately, I have no ideas:(.
If by "cycle" you mean "loop", then you are probably looking for what is
called a *failure-driven loop*. You could e.g. check Anne's tutorial:
http://www.pathwayslms.com/swipltuts/student/#loop