##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: November 2016 # Modified: 2016-11-26/01:08-0500 ##+ # # Succeed.icn, an anti-example, FOR WARNING PURPOSES ONLY # procedure main() # DON'T DO THIS, it causes an endless loop # result := "sstring" ?? Any('rst') || Succeed() || Span('rt') || "ing" # Do this instead result := "sstring" ?? Any('rst') || Fence() || Span('rt') || "ing" write(image(result)) # the short of it is, DON'T USE Succeed() end