##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: August 2016 # Modified: 2016-10-03/22:36-0400 ##+ # # abs.icn, demonstrate the absolute value function # procedure main() p := 1 n := -1 r := -1.23 write(p, ", abs(", p, ") = ", abs(p)) write(n, ", abs(", n, ") = ", abs(n)) write(r, ", abs(", r, ") = ", abs(r)) end