[ library(util) | Reference Manual | Alphabetic Index ]
between(+From, +To, ?I)
Generates integers between From and To
Description
Succeeds if From and To are integers and I unifies with a
number between the two. On backtracking it generates all
values for I starting from From onwards.