Changeset 208 in Sophya


Ignore:
Timestamp:
Mar 2, 1999, 5:59:22 PM (27 years ago)
Author:
ercodmgr
Message:

Ajout savefits Reza 02/03/99

File:
1 edited

Legend:

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

    r193 r208  
    140140  cout << "timingon  timingoff  shell \n";
    141141  cout << "link  call    zone  gratt  stacknext \n" ;
    142   cout << "openfits  openppf  saveall  listobjs \n";
     142  cout << "openppf  saveall  listobjs openfits savefits \n";
    143143  cout << "print rename  del delobjs \n";
    144144  cout << "newh1d  newh2d  newprof newgfd func  func2d \n" ;
     
    267267  if (tokens.size() < 1) { cout << "PIACmd::Do() Usage: openfits file " << endl;  return(0); }
    268268  else mObjMgr->ReadFits(tokens[0]);
     269}
     270else if (kw == "savefits" ) {
     271  if (tokens.size() < 2) { cout << "PIACmd::Do() Usage: savefits nomobj filename " << endl;  return(0); }
     272  else mObjMgr->SaveFits(tokens[0], tokens[1]);
    269273}
    270274else if (kw == "openppf" ) {
Note: See TracChangeset for help on using the changeset viewer.