Hi,
>> On a related note, if I want to return missing value for a property
>> that
>> normally returns an integer, boolean or string, how do I do this?
>
> I still haven't heard whether this actually works, and I haven't
> touched my own code in a long time, but maybe you can declare
>
> <value-type name="missing value" code="msng">
> <cocoa class="NSNull"/>
> </value-type>
>
> in your sdef file and return [NSNull null] from the accessors.
Will this work with accessors that return scalar value (int, BOOL)? Surely,
returning [NSNull null] will be interpreted as TRUE for a BOOL accessor and
as an arbitrary integer for int accessors.
Cheers
-Mark
------------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 Script Debugger 3.0 - AppleScript IDE
WEB: http://www.latenightsw.com/ FaceSpan 4.2 - AppleScript RAD
Affrus 1.0 - Perl Debugging
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden