well that seems to be why , thanks richard , the subs were growing in depth as each page was shown , this eventually crashed the chip.

the answer is simple but a pain, use goto"s and routines label instead of gosub , for menus that have multi pages per sub section , where only one page is needed and not going deep then gosub can be used
because i have number of structures that have while , wend loops nested gosub helped ensure the location of the return , with out me having to do it directly

but a better monitor system for errors like this caused , i need to look into , able to monitor the stack usage depth is one tool that be nice

cheers

sheldon