wait
Entity: predicate

Usage:
wait( Time )

Waits for Time seconds. Time may be integer or float but it must be instantiated.

Example:

?- chronometer(_), wait(0.5), chronometer(Time), write(Time), nl.
 

This example returns the time in milliseconds in which the wait(0.5) predicate was working, i.e. it will return 500..

Examples:

 CURSOR