home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / UIFlow 1.0.1 / UIFlow Source / VSet2.0 / temp / vcompat.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-12  |  474 b   |  21 lines  |  [TEXT/????]

  1. #include <stdio.h>
  2.  
  3. main (ac,av) int ac; char**av; {
  4.  
  5. if (ac!=2) { 
  6.     fprintf(stderr,"%v: converts HDF vset v1.0 files to v2.0\n",av[0]);
  7.     fprintf(stderr,"Usage: %s hdf-file\n",av[0]);
  8.     exit(0);
  9.     }
  10.  
  11. if ( 0 == vcheckcompat(av[1]) ) {
  12.     vmakecompat (av[1]);
  13.     fprintf(stderr,"file [%s] is now compatible\n", av[1]);
  14.     }
  15. else
  16.     fprintf(stderr,"file [%s] already compatible with r2.0\n",av[1]);
  17.  
  18. } /* main */
  19.  
  20. /* ------------------------------------------------------------------ */
  21.