campo-sirio/mg/mg1.cpp
guy 844e3440ee Iniziato calcolo inventario alla data
git-svn-id: svn://10.65.10.50/branches/R_10_00@22792 c028cbd2-c16b-5b4b-a496-9718f37d4682
2013-01-30 17:00:01 +00:00

20 lines
448 B
C++
Executable File

#include <xvt.h>
// Modulo di gestione movimenti
#include "mg1.h"
int main(int argc, char** argv)
{
const int r = (argc > 1) ? argv[1][1]-'0' : 0;
switch (r)
{
case 1: mg1200(argc,argv); break; // ricostruzione saldi
case 2: mg1300(argc,argv); break; // giacenze alla data
case 3: mg1400(argc,argv); break; // gestione aperture/chiusure
default: mg1100(argc,argv); break; // gestione interattiva movimenti
}
return 0;
}