home *** CD-ROM | disk | FTP | other *** search
/ World of Graphics / WOGRAPH.BIN / 315.VISDEMO.C < prev    next >
C/C++ Source or Header  |  1992-04-08  |  529b  |  28 lines

  1. #include <stdio.h>
  2. #include <conio.h>
  3. #include <stdlib.h>
  4. #include "tcvis.h"
  5.  
  6. char kname[30];
  7.  
  8. /************************************************************************/
  9.  
  10. void main(void)
  11. {
  12. clrscr();
  13. if (!DIDC_locate_tsr())
  14.   {
  15.   puts("Visage system is not loaded. Restart after loading Visage.");
  16.   puts("Press any key...");
  17.   getch();
  18.   }
  19.  
  20. while (1)
  21.   {
  22.   printf("Enter Document ID or leave blank quit: ");
  23.   gets(kname);
  24.   if (!strlen(kname))
  25.     return;
  26.   DIDC_call_menu("DOCS", kname, 0, "");
  27.   }
  28. }