2 # $Id: report-string,v 1.8 2020/11/26 00:18:32 tom Exp $
3 # Report result passed in a string $returntext
6 case ${returncode:-0} in
8 echo "Result is $returntext";;
10 echo "Cancel pressed.";;
12 echo "Help pressed ($returntext).";;
14 echo "Extra button pressed.";;
16 echo "Item-help button pressed.";;
18 echo "Timeout expired.";;
20 if test -n "$returntext" ; then
27 echo "Return code was $returncode";;