sv0.cpp :aggiunti commenti

sv0100.cpp : parametro in uppercase


git-svn-id: svn://10.65.10.50/trunk@5231 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
augusto 1997-09-19 09:57:34 +00:00
parent c27589df67
commit c07e5aabac
2 changed files with 4 additions and 4 deletions

View File

@ -9,10 +9,10 @@ int main(int argc, char** argv)
switch(n)
{
case 0:
sv0100(argc, argv);
sv0100(argc, argv); // gestione tabelle del modulo
break;
case 3:
sv0400(argc, argv);
sv0400(argc, argv); // parametrizzazione modulo
break;
default:
error_box("Invalid argument %s", argv[1]);

View File

@ -327,10 +327,10 @@ int sv0100(int argc, char* argv[])
TApplication::check_parameters(argc, argv);
if (argc > 2)
{
const TFixed_string tab(argv[2]);
TFixed_string tab(argv[2]);
TSV_tabapp* app;
if (tab == "PSV")
if (tab.upper() == "PSV")
app = new TPSV_tabapp;
else
app = new TSV_tabapp;