campo-sirio/ve/ve0.cpp

32 lines
560 B
C++
Raw Normal View History

#include <xvt.h>
#include "ve0.h"
int main( int argc, char** argv )
{
int rt = -1;
const int r = (argc > 1) ? atoi( &argv[1][1] ) : 1;
switch (r)
{
case 2:
rt = ve0200( argc, argv ); // Parametri Vendite
break;
case 3:
rt = ve0300( argc, argv ); // Compilatore Profili
break;
case 4:
rt = ve0400( argc, argv ); // Gestione Tabelle
break;
case 5:
rt = ve0500( argc, argv ); // Gestione Glossario
break;
default:
rt = ve0100( argc, argv ); // Gestione Documenti
break;
}
exit(rt);
return rt;
}