Corretta l'analisi dei parametri di command line.

git-svn-id: svn://10.65.10.50/trunk@1874 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1995-09-21 16:45:16 +00:00
parent a18564a49a
commit a16411c93d

View File

@ -214,17 +214,20 @@ bool TPconAb::user_create()
_rel = new TRelation (LF_ABPCON);
_msk = new TMask("ab0200a") ;
_pcon->zero();
_pcon->read(_isgteq);
_msk->set_handler(F_CODCONTR, ContoSezBilOpp);
_msk->set_handler(F_INDBIL, IndBil);
_msk->set_handler(F_LIVELLO, LivelloStrutt);
_isparametri = FALSE;
if (argv(2) != "" && argv(3) != "")
if (argv(2) != "" && argc() == 4)
{
_codice = argv(2);
if (_codice != "-uPRASSI")
if (_codice != "-uPRASSI" && _codice != "/uPRASSI")
{
_indbil = atoi(argv(3));