[top][index]
search for:

while -- loop control

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:

  • loops -- evaluate code repeatedly
  • break -- break from a loop
  • for -- loop control

  • [top][index]
    search for: