Next: , Previous: , Up: BlockClosure   [Index]


1.11.5 BlockClosure: control structures

repeat

Evaluate the receiver ’forever’ (actually until a return is executed or the process is terminated).

whileFalse

Evaluate the receiver until it returns true

whileFalse: aBlock

Evaluate the receiver. If it returns false, evaluate aBlock and restart

whileTrue

Evaluate the receiver until it returns false

whileTrue: aBlock

Evaluate the receiver. If it returns true, evaluate aBlock and restart