suspends the current process for specified time
integer(Ticks) (i) suspends the process using the current priority time
Suspends the current process for a certain time specified by Ticks in ticks of the current priority timer. As PROLOG processes usually run at low priority, a tick will take about 64 micro seconds. A second takes exactly 15625 ticks. After the specified time the process will be rescheduled.
write("Please wait..."),nl, for(1,10,X), wait(15000), % wait about a second write(X),nl, X = 10.
No runtime errors.
prolog-process, client-server, object