chkcols()
{
chkint ${1} ${2} &&
(( ${2} >= 0 )) &&
(( ${2} <= ${MAX_COLS} )) &&
return 0
ROW_NBR="24"
COL_NBR="1"
eval addstr \"${CMD_MOVE}\" &&
clrtoeol &&
addstr "${1}: Invalid column number" >&2 &&
refresh &&
${ERROR_PAUSE} &&
eval addstr \"${CMD_MOVE}\" &&
clrtoeol &&
refresh
return 1
}