# math.nsc written by S. ISHIZAKA. 1997/12
#
# Line-calculator using shell-builtin command "dexpr".
#
new dialog
MATH=${dialog::input:'Input mathematical expression'}
if [ "$MATH" ]
then
  dialog::message:"$MATH="`dexpr "$MATH"`
fi
del dialog
