Hello Stefan.
The error seem there is in the do: block... I try this and works ok:
|file|
[ file := StandardFileStream fileNamed: 'loglog.txt'.
file nextPutAll: 'Start'.
[ file nextPutAll: (Compiler evaluate: '55 + 88 poipuiu') asString] on: Error do: [:ex | 'not ok' inspect ].
] ensure: [file close].
2012/1/16 St�phane Ducasse
<stephane.ducasse@inria.fr>
Hi guys
when I do the following
|file|
[ file := StandardFileStream fileNamed: 'loglog.txt'.
file nextPutAll: 'Start'.
[ file nextPutAll: (Compiler evaluate: '55 + 88 poipuiu') asString] on: Error do: [:ex | ex outer errorReportOn: file].
] ensure: [file close].
I get a pop up DNU poipuiu while I would like to get the stack on the stream.
May be my mistake is obvious but I do not see it.
Stef