<pre>on cantFind what,prompt,action  if prompt is not empty then put prompt  if action is "Cancel" then    answer "I can't find " & what with "Cancel"    hide msg    exit to hypercard  else    answer "I can't find " & what with "Abandon" or "Continue"    hide msg    if it is "Abandon" then exit to hypercard  end ifend cantFind</pre>