On 01/06/2012 18:59, David Shi wrote: > Can any one clarify what "while stack:" mean? > By convention, an empty container is considered false and a non-empty container true in Boolean tests. Therefore, assuming that "stack" is a container, it means "while the stack isn't empty".