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


Ignore:
Timestamp:
Nov 1, 2000, 6:30:27 PM (25 years ago)
Author:
ercodmgr
Message:

Retour de ExecuteCXX pour CxxExecWind
Finalisation de CxxExecWind cmv 1/11/00

File:
1 edited

Legend:

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

    r1268 r1269  
    553553    return(99);
    554554  }
    555   string localkey = "c++exec", localstr;
    556   vector<string> localtokens;
    557555  if (s[1] == '@') { // Sans substitution des variables $
    558     localstr = s.substr(2);
    559     localtokens.push_back(localstr);
    560     return(cxxe->Execute(localkey,localtokens,localstr));
     556    return(cxxe->ExecuteCXX(s.substr(2)));
    561557  } else { // Avec substitution de variables $
    562558    string s2;
    563559    SubstituteVars(s, s2);
    564     localstr = s2.substr(1);
    565     localtokens.push_back(localstr);
    566     return(cxxe->Execute(localkey,localtokens,localstr));   
     560    return(cxxe->ExecuteCXX(s2.substr(1)));   
    567561  }
    568562}
Note: See TracChangeset for help on using the changeset viewer.