campo-sirio/at/at8.cpp
cris 9c5df3d019 Patch level :
Files correlati     :
Ricompilazione Demo : [ ]
Commento            : Aggiunto aggiornamento situazione soggetti da file esterno (appoggio, con codice soggetti da riordinare)


git-svn-id: svn://10.65.10.50/trunk@7905 c028cbd2-c16b-5b4b-a496-9718f37d4682
1999-03-08 15:07:56 +00:00

30 lines
512 B
C++
Executable File

#include <xvt.h>
#include <strings.h>
#include <checks.h>
#include "at8.h"
#define usage "Error - usage : %s -{0|1|2|3}"
int main(int argc,char** argv)
{
int rt = -1 ;
const int r = (argc > 1) ? atoi(&argv[1][1]) : -1;
switch (r)
{
case 0:
rt = at8100(argc,argv) ; break;
case 1:
rt = at8200(argc,argv) ; break;
case 2:
rt = at8300(argc,argv) ; break;
case 3:
rt = at8400(argc,argv) ; break;
default:
error_box(usage, argv[0]) ; break;
}
return rt;
}