void redrawscreen(void) /* Displays the entire screen */ { setrightcol(); setbottomrow(); writef(1, 1, MSGMEMORYCOLOR, strlen(MSGMEMORY), MSGMEMORY); writef(29, 1, PROMPTCOLOR, strlen(MSGCOMMAND), MSGCOMMAND); changeautocalc(autocalc); changeformdisplay(formdisplay); printfreemem(); displayscreen(NOUPDATE); } /* redrawscreen */
void umenu(void) /* Executes the commands in the utility menu */ { switch(getcommand(UMENU, UCOMMAND)) { case 0 : recalc(); break; case 1 : changeformdisplay(!formdisplay); displayscreen(UPDATE); break; } /* switch */ } /* umenu */