Changeset 1269 in Sophya for trunk/SophyaPI/PIext/piacmd.cc
- Timestamp:
- Nov 1, 2000, 6:30:27 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piacmd.cc
r1268 r1269 553 553 return(99); 554 554 } 555 string localkey = "c++exec", localstr;556 vector<string> localtokens;557 555 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))); 561 557 } else { // Avec substitution de variables $ 562 558 string s2; 563 559 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))); 567 561 } 568 562 }
Note:
See TracChangeset
for help on using the changeset viewer.