Changeset 1511 in Sophya for trunk/SophyaExt


Ignore:
Timestamp:
May 25, 2001, 10:34:15 AM (24 years ago)
Author:
ansari
Message:

Compil SGI-CC , Reza 25/5/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fbtntintf.cc

    r1507 r1511  
    149149 ColReadable = new bool[NBcol];
    150150 Buffer = new double*[NBcol];
    151  for(int icol=0;icol<NBcol;icol++)
     151 int icol;
     152 for(icol=0;icol<NBcol;icol++)
    152153   {Buffer[icol]=NULL; ColReadable[icol]=false;}
    153154
     
    158159
    159160 // Get column infos
    160  for(int icol=0;icol<NBcol;icol++) {
     161 for(icol=0;icol<NBcol;icol++) {
    161162   int colnum,typecode;
    162163   char templt[16], colname[256];
     
    262263 string rets;
    263264 rets = "\ndouble";
    264  for(int icol=0;icol<NBcol;icol++) {
     265 int icol;
     266 for(icol=0;icol<NBcol;icol++) {
    265267  rets += " " + ColName[icol];
    266268  if(icol!=NBcol-1) rets += ","; else rets += ";\n";
     
    268270 if(!nomx) return rets;
    269271 char buff[256];
    270  for(int icol=0;icol<NBcol;icol++) {
     272 for(icol=0;icol<NBcol;icol++) {
    271273   sprintf(buff," = %s[%d];\n",nomx,icol);
    272274   rets += ColName[icol] + buff;
Note: See TracChangeset for help on using the changeset viewer.