home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR10 / TLXTW110.ZIP / TLXTWHLP.SLT < prev    next >
Text File  |  1993-08-22  |  1KB  |  33 lines

  1. // tlxtwhlp.slt = Alt-F1
  2. // Uses List.com to list a text file that shows the key assignments.
  3. // Tlxtwhlp.txt file should be in the same directory as Telix.exe.
  4.  
  5. ///////////////////////////////////////////////////////////////////////////////
  6.                                                                              //
  7.                                                                              //
  8. str help[64] = "q";                                                          //
  9.                                                                              //
  10.                                                                              //
  11. ///////////////////////////////////////////////////////////////////////////////
  12.  
  13. main()
  14. {
  15. int old_chk_key; old_chk_key=_scr_chk_key; _scr_chk_key=0;
  16. str file[64];
  17. strcat (file, _script_dir);
  18. if(subchr(_script_dir,strlen(_script_dir)-1)!='\') strcat(file, "\");
  19. strcat (file, "tlxtwhlp.txt");
  20. if (filefind(file, 0) < 1)
  21.  {
  22.   strupper(file);
  23.   inschrs("Can't find ", file, 0,  11);  status_wind(file, 15);
  24.   _scr_chk_key=old_chk_key;
  25.   return(-1);
  26.   }
  27.  inschrs(" ", file, 0, 1 );
  28.  cursor_onoff(1);
  29.  run(help, file);
  30.  _scr_chk_key=old_chk_key;
  31.  return;
  32.  }
  33.