Changeset 735 in Sophya for trunk/SophyaLib/NTools
- Timestamp:
- Feb 22, 2000, 5:29:47 PM (26 years ago)
- Location:
- trunk/SophyaLib/NTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/dvlist.cc
r718 r735 250 250 size_t l = key.length(); 251 251 if ( (l < 1) || (key.find_first_of(" ") < l) ) return(ddvdum); 252 ValList::iterator it = mvlist.find(key); 253 dvlElement xxx = {(int_8)0 , ""}; 252 // dvlElement xxx = {(int_8)0 , ""}; marche pas sur mac/CW (!) - cf DY 253 dvlElement xxx; xxx.elval = (int_8)0; xxx.elcomm = ""; 254 ValList::iterator it = mvlist.find(key); 254 255 if (it == mvlist.end()) mvlist[key] = xxx; 255 256 it = mvlist.find(key); -
trunk/SophyaLib/NTools/dvlist.h
r718 r735 60 60 else return(atof(mtv.strv)); } 61 61 inline operator string() { char *ss=myStrBuf; 62 if (typ == 'I') sprintf(ss,"% d", mtv.iv);62 if (typ == 'I') sprintf(ss,"%ld", mtv.iv); 63 63 else if (typ == 'D') sprintf(ss,"%.20g", mtv.dv); 64 64 else ss = mtv.strv;
Note:
See TracChangeset
for help on using the changeset viewer.