Re: has option in system attributes
Re: has option in system attributes
- Subject: Re: has option in system attributes
- From: Nigel Garvey <email@hidden>
- Date: Sun, 11 Apr 2004 16:17:22 +0100
trinko wrote on Sat, 10 Apr 2004 12:37:47 -0700:
>
I was looking at system attributes and i'm wondering if anyone has a
>
quick explination for how the has clause works.
>
>
for example
>
>
system attribute "sysv" has 4148
>
>
returns true even though the value of the attribute is 4147
The behaviour of 'has' seems to have changed between the old Finder
'computer' command and the 'system attribute' command in OS X.
Under 'computer', 'has' would return true only if *all* the set bits in
its parameter value were also set in the returned 'computer' value. Under
'system attribute', it appears to return true if the values have *any*
set bits in common.
NG
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.