set_label() { LABEL="" LABDAT="" ISFL=0 if (( ${MENULEV} >= 1 )) then while (( ${ISFL} <= ${MENUPREV} )) do ISFL="$(( ${ISFL} + 1 ))" LABEL="${LABEL}${MENUANS[${ISFL}]}" (( ${ISFL} <= ${MENUPREV} )) && LABDAT="${LABEL}" done fi }