Hi, I slightly modified BrAppOptionManager so that the user can pass negative numbers with options (so far, if you did -p -4.5, it couldn't work since -4.5 was confused with an option that was not in the option table) I just added in ProcessCommandLine the following statement: // See if we got an option if (fArgv[i][0] == '-' && isalpha(fArgv[i][1])) { ~~~~~~~~~~~~~~~~~~~~~~~ The experts should check if isalpha is ok for all platforms... This correction seemed to work fine but I cannot foresee subtle inconvenience. Djam -- Djamel Ouerdane ------------------------------------------o | Niels Bohr Intstitute | Home: | | Blegdamsvej 17, DK-2100 Ø | Jagtvej 141 2D, | | Fax: +45 35 32 50 16 | DK-2200 Copenhagen N | | Tel: +45 35 32 52 69 | +45 35 86 19 74 | | http://www.nbi.dk/~ouerdane | | ouerdane@nbi.dk | o---------------------------------------------------------o
This archive was generated by hypermail 2b30 : Fri Jul 27 2001 - 06:34:51 EDT