# acdc62bf8aa30fba0e6423781d50db42d0c89dd357c63a6bb0e2f3ac8dbdfbe3 Elan 1.6.2 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
