Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione 3.2 patch 1092 git-svn-id: svn://10.65.10.50/trunk@16293 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			28 lines
		
	
	
		
			576 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			576 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
#include <xvt.h>
 | 
						|
#include <checks.h>
 | 
						|
#include <diction.h>
 | 
						|
 | 
						|
#include "or1.h"
 | 
						|
 | 
						|
int main(int argc,char** argv)
 | 
						|
{
 | 
						|
  const int n = argc > 1 ? atoi(argv[1]+1) : -1;
 | 
						|
 | 
						|
  switch (n)
 | 
						|
  {
 | 
						|
  case 0:
 | 
						|
    or1100(argc,argv); break; // stampe ordini
 | 
						|
  case 1:
 | 
						|
    or1200(argc,argv); break; // stampa dettaglio disponibilita' articoli
 | 
						|
  case 2:
 | 
						|
    or1300(argc,argv); break; // stampa statistiche sui tempi di consegna
 | 
						|
  case 3:
 | 
						|
    or1400(argc,argv); break; // generazione orini a fornitore
 | 
						|
  default:
 | 
						|
    error_box(TR("Errore - uso : %s -{0|1|2|3}"), argv[0]);
 | 
						|
  }
 | 
						|
  exit(0);
 | 
						|
  return 0;
 | 
						|
}
 | 
						|
 |