From a16411c93d215b70a0c40850bb80f818b3f8a1c6 Mon Sep 17 00:00:00 2001 From: angelo Date: Thu, 21 Sep 1995 16:45:16 +0000 Subject: [PATCH] Corretta l'analisi dei parametri di command line. git-svn-id: svn://10.65.10.50/trunk@1874 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ab/ab0200.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ab/ab0200.cpp b/ab/ab0200.cpp index bd8641043..523f390c9 100755 --- a/ab/ab0200.cpp +++ b/ab/ab0200.cpp @@ -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));