[Xotcl] Asserts off/on

Gustaf Neumann neumann at wu-wien.ac.at
Sat Jul 15 16:00:10 CEST 2006


Kristoffer,

the following might help you...
-gustaf


# a little helper
Object instproc apply {list args} {foreach o $list {eval $o $args}}

# turn off checking for all objects
Object apply [::xotcl::Object allinstances] check ""



Kristoffer Lawson schrieb:
>
>>
>>
>> On 11 Jul 2006, at 19:24, Uwe Zdun wrote:
>>
>>> The method "check" can be used to turn off assertions. The example 
>>> from the tutorial:
>>
>> That is per-object. I am wondering if there is anything that would be 
>> for everything.




More information about the Xotcl mailing list