##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: August, 2016 # Modified: 2016-10-03/22:38-0400 ##+ # # backtrack-bound.icn # procedure main() # not found; a keeps the value 1, alternate not used a := (1 | 2) if find("h", "this") == a then write("found at ", a) else write("not found: a is ", a) # found; alternative is allowed when striving for the goal if find("h", "this") == (a := (1 | 2)) then write("found at ", a) else write("not found: a is ", a) end