# bcbf28706d8a0d18d205ff03b34413d5af765f82f244a7e27ecdb41defd8ead4 Elan 1.7.0 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
