removed the DEH symbol ({%).
added new experimental features - the signal method to the Error class for simplified error/exception handling - the catch method to the BlockContext for simplified error/exception catching instead of the full-fledged on:do
This commit is contained in:
@@ -165,11 +165,11 @@ class(#pointer,#final,#limited) BlockContext(Context)
|
||||
self primitiveFailed.
|
||||
}
|
||||
|
||||
|
||||
method ifTrue: aBlock
|
||||
{
|
||||
##^(self value) ifTrue: aBlock.
|
||||
^if (self value) { aBlock value }.
|
||||
|
||||
}
|
||||
|
||||
method ifFalse: aBlock
|
||||
|
||||
Reference in New Issue
Block a user