Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione 3.1 patch 873 git-svn-id: svn://10.65.10.50/trunk@15151 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			32 lines
		
	
	
		
			809 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			809 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
#include <xvt.h>
 | 
						|
#include <strings.h>
 | 
						|
#include <checks.h>
 | 
						|
 | 
						|
#include "at9.h"
 | 
						|
 | 
						|
#define usage   "Error - usage : %s -{0|1|2}"
 | 
						|
 | 
						|
int main(int argc,char** argv)
 | 
						|
{
 | 
						|
  int             rt = -1 ;
 | 
						|
  const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
 | 
						|
  switch (r)
 | 
						|
  {
 | 
						|
  case 0:
 | 
						|
    rt = at9100(argc,argv) ; break; // statistica soggetti sospesi
 | 
						|
  case 1:
 | 
						|
    rt = at9200(argc,argv) ; break; // Estrazione archivi per aggiornamento
 | 
						|
  case 2:
 | 
						|
    rt = at9300(argc,argv) ; break; // Aggiornamento archivi da estrazione
 | 
						|
  case 3:
 | 
						|
    rt = at9400(argc,argv) ; break; // Aggiornamento soggetti
 | 
						|
  case 4:
 | 
						|
    rt = at9500(argc,argv) ; break; // stampa moduli intestati
 | 
						|
  case 5:
 | 
						|
    rt = at9600(argc,argv) ; break; // estrazione dati per Osservatorio Nazionale
 | 
						|
  default:
 | 
						|
    error_box(usage, argv[0]) ; break;
 | 
						|
  }
 | 
						|
  return rt;
 | 
						|
}
 |