• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: has option in system attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Just submitted this to BugReporter as feature request - comments...
  • Next by Date: Re: Just submitted this to BugReporter as feature request - comments...
  • Previous by thread: Re: has option in system attributes
  • Next by thread: Just submitted this to BugReporter as feature request - comments...
  • Index(es):
    • Date
    • Thread