• 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
Counting the items in anested list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Counting the items in anested list


  • Subject: Counting the items in anested list
  • From: Ehsan Saffari <email@hidden>
  • Date: Tue, 15 May 2001 11:48:32 -0600

say there is a nested list and we count it's items:

set x to {{"a", "b"}, {{"c", "d"}, {"e", "f"}}}
set cnt to count of items in x --> 2

is it possible to count the items in x (=3) without a repeat loop?

hope that's clear

thanks
ehsan


  • Prev by Date: Re: Basic Smile question
  • Next by Date: Searchable archives...
  • Previous by thread: Re: SECOND POST: Changing Access Privs
  • Next by thread: Re: Counting the items in anested list
  • Index(es):
    • Date
    • Thread