• 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: count of items in a reference to a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: count of items in a reference to a list


  • Subject: Re: count of items in a reference to a list
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 9 Jul 2001 10:37:45 -0700

On 7/9/01 9:48 AM, email@hidden <email@hidden> wrote:

>set x to {"a", "b", "c"}
>set countx to count of items in x
>log countx
>--> 3
>set xr to a reference to x
>set countxr to count of items in xr
>--> every item of x of<<script>> doesn't understand the count message.

It's the same way in 1.6; however, this works:

set x to {"a", "b", "c"}
set countx to count of items in x
log countx
--> 3
set xr to a reference to x
set countxr to count xr
--> 3

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: count of items in a reference to a list
      • From: John W Baxter <email@hidden>
  • Prev by Date: Difference in folder sizes on NT and Mac
  • Next by Date: Re: count of items in a reference to a list
  • Previous by thread: Re: count of items in a reference to a list
  • Next by thread: Re: count of items in a reference to a list
  • Index(es):
    • Date
    • Thread