Changeset 384 in Sophya for trunk/SophyaPI/PIext/piacmd.cc


Ignore:
Timestamp:
Aug 12, 1999, 4:34:22 PM (26 years ago)
Author:
ercodmgr
Message:

Diverses modifs + Fonc. Link Dyn pour fitting - Reza+cmv 12/8/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/piacmd.cc

    r374 r384  
    809809
    810810if ( (fip = fopen(file.c_str(),"r")) == NULL ) {
     811  if (file.find('.') >= file.length()) {
     812    cout << "PIACmd::Exec(): Error opening file " << file << endl;
     813    file += ".pic";
     814    cout << "                Trying file " << file << endl;
     815    fip = fopen(file.c_str(),"r");
     816    }
     817  }
     818
     819if(fip == NULL) {
    811820  cerr << "PIACmd::Exec() Error opening file " << file << endl;
    812821  hist << "##! PIACmd::Exec() Error opening file " << file << endl;
Note: See TracChangeset for help on using the changeset viewer.