Numeric index of lists

is there a way to numerically index lists other than

item n of myList

We have a case where we have a list of property lists and it would be much cleaner to do

myList[n].myProperty

than

the myProperty of item n of myList

An alternative is:

set myItem to item n of myList
myItem.myProperty

But this isn't much cleaner and causes unnecessary variable use. Can anyone advise if it is possible to reference a list numerically without using the "item n of list" syntax?

Thanks!
Tagged:

Best Answer

Answers

Sign In or Register to comment.