##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: October 2016 # Modified: 2016-10-12/20:25-0400 ##+ # # reverse.icn, reverse a string or list # link lists procedure main() L := [1,2,3] write(limage(L)) write(limage(reverse(L))) s := "abc" write(s) write(reverse(s)) end