while p do x -- repeatedly evaluates x as long
as the value of p remains true, returning
null.
while p list x -- repeatedly evaluates x as long
as the value of p remains true, returning a
list of the values of x encountered.
while p list x do z -- repeatedly evaluates x
and z as long as the value of p remains
true, returning a list of the values of x
encountered.
See also: