1997-02-28 11:56:16 +00:00
|
|
|
#include <xvt.h>
|
|
|
|
|
1999-10-22 10:00:18 +00:00
|
|
|
#include "mg0.h"
|
1997-02-28 11:56:16 +00:00
|
|
|
|
|
|
|
int main(int argc, char** argv)
|
|
|
|
{
|
1999-10-22 10:00:18 +00:00
|
|
|
const int r = (argc > 1) ? argv[1][1] - '0' : 0;
|
1997-02-28 11:56:16 +00:00
|
|
|
switch (r)
|
|
|
|
{
|
1999-10-22 10:00:18 +00:00
|
|
|
case 1: mg0200(argc,argv); break; // stampa tabelle
|
|
|
|
case 2: mg0300(argc,argv); break; // configurazione mag
|
|
|
|
default: mg0100(argc,argv); break; // gestione tabelle
|
1997-02-28 11:56:16 +00:00
|
|
|
}
|
1999-10-22 10:00:18 +00:00
|
|
|
exit(0);
|
|
|
|
return 0;
|
1997-02-28 11:56:16 +00:00
|
|
|
}
|