# 5f3f1f6c4afcd09e564caec3fbb3f278827da55c2f1d64ea60b125476b875ebc Elan 1.6.4 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
