From: Patrick Doyle Date: 2008-08-25T10:20:41+09:00 Subject: indices of non nil elements in an array a = [] a[10] = "foo" a.nitems returns a count of the non-nil, items. What is the simplest way to return the indices of "a" that are not nil? I'm sure there is some simple elegant way to do this, but I can't figure it out. --wpd