Contents of file named text


* Below, reply is prefixed with _ to recognize no response
*   -- a blank line typed for the reply
setbb ans "_(reply 'Enter yes or no:')" ;* prompt and get answer
if "%ans%" eq "_yes"
   message "response is yes"
elseif "%ans%" eq "_no"
   message "response is no"
elseif "%ans%" eq "_"
   message "nothing typed"
else
   message "invalid response: (after _ '%ans%')"
endif