function chkparm { [[ "_${2}" = "_" ]] && move 24 1 && clrtoeol && addstr "${1}: Missing parameter" >&2 && refresh && ${ERROR_PAUSE} && move 24 1 && clrtoeol && return 1 return 0 }