#include  "complex.h"
#include  "screen.h"
#include  "graf.h"

word_s  help (word_s kc,word_s nscr)
{word_s key;
 request_resource(ekran, 0L);
 bar_(0, 1, Y_T_SCR+1, X_SCR-1, Y_B_SCR-1);
 setpcxvideo("complex.hlp",1,31,640);
// pcxFileDisplay("complex.hlp",1,31,0);
 release_resource(ekran);
 while(!endrun) {
#if (DEBUG)
view_text(2,73,8,"HELP ");
#endif
   key = read_wpipe(scr_chn[nscr],0*HZ);
   if(key != kc) if(list_func(key)) return key;
   var_obj(key,nscr);
  }
return 0;
}