# showlist alias showlist { @ sl.cnt = 0 while (sl.wrd = [$($sl.cnt)]) { echo sl.wrd @sl.cnt = sl.cnt + 1 } assign -sl.cnt assign -sl.wrd }