[Pharo-project] SmalltalkImage>>#snapshot:andQuit:
Hi (Guillermo), It seems that SmalltalkImage>>#snapshot:andQuit: no longer returns the value of resuming (a Boolean), so that the following in a script to build a new image no longer works: | resuming | resuming := SmalltalkImage current saveAs: 'my-image'. resuming ifFalse: [ Smalltalk snapshot: false andQuit: true ]. Was this intentional ? What is the alternative ? Thx, Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
Not on purpose, sorry :). I'll provide a slice to reintegrate that. On Thu, Jul 5, 2012 at 9:28 PM, Sven Van Caekenberghe <sven@beta9.be> wrote:
Hi (Guillermo),
It seems that SmalltalkImage>>#snapshot:andQuit: no longer returns the value of resuming (a Boolean), so that the following in a script to build a new image no longer works:
| resuming | resuming := SmalltalkImage current saveAs: 'my-image'. resuming ifFalse: [ Smalltalk snapshot: false andQuit: true ].
Was this intentional ? What is the alternative ?
Thx,
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
OK, Thx. On 05 Jul 2012, at 22:17, Guillermo Polito wrote:
Not on purpose, sorry :). I'll provide a slice to reintegrate that.
On Thu, Jul 5, 2012 at 9:28 PM, Sven Van Caekenberghe <sven@beta9.be> wrote: Hi (Guillermo),
It seems that SmalltalkImage>>#snapshot:andQuit: no longer returns the value of resuming (a Boolean), so that the following in a script to build a new image no longer works:
| resuming | resuming := SmalltalkImage current saveAs: 'my-image'. resuming ifFalse: [ Smalltalk snapshot: false andQuit: true ].
Was this intentional ? What is the alternative ?
Thx,
Sven
participants (2)
-
Guillermo Polito -
Sven Van Caekenberghe