7 self in: obj var: #val put: aVal.
12 [ val > 0 ] whileTrue: [
26 ctx setup: (aClass findMethod: #run) withArguments: (Array with: aClass).
30 self in: obj var: #proc put: proc.
36 res := proc doExecute: 0.
37 res = 4 ifTrue: [ ^aDoneBlock value ].
38 res = 7 ifTrue: [ ^proc result ].
39 proc errorReport: res.
46 res := self next: [ 'done.' printNl. ^true ].
53 { (Generator newWith: (Calculator newWith: 4)) printAll printNl. }