View · Search · Index
No registered users in community xowiki
in last 10 minutes

Re: [Xotcl] Asserts off/on

From: Gustaf Neumann <neumann_at_wu-wien.ac.at>
Date: Sat, 15 Jul 2006 16:00:10 +0200

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.