beautypg.com
26
end while
Note that these two lines, while true msg=wait(0, p)
Can be replaced using the following (and substituting
end while with end for):
For each msg in p