# 79a3eb083070b5f3f6542a97f6c1d72b2d800429dce5a2135e4d6cdef588f268 Elan 1.6.1 guest default_profile valid

main
  variable names set to ["Tom", "Dick", "Harriet"]
  print names[0]
  each n in names
    print n
  end each
  print reverse("Harriet")
end main

function reverse(s as String) returns String
  variable sReturn set to empty String
  each ch in s
    set sReturn to ch + sReturn
  end each
  return sReturn
end function
