executes a goal only once.
once/1 works like call/1, but without backtracing.
Goal goal
This predicate is part of the ISO-Prolog Standard.
Up read on...