Counting the items in anested list
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