Changeset 2573 for trunk/MagicSoft/Mars
- Timestamp:
- 11/27/03 15:14:34 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2572 r2573 4 4 5 5 -*-*- END OF LINE -*-*- 6 2003/11/27: Abelardo Moralejo 7 8 * mdata/MDataChain.cc: 9 - added ';' as a possible alphanumeric character in the data 10 string, to support the use of variables from MC stereo files 11 where the parameter containers for each telescope are tagged 12 with a ';' followed by the telescope number. 13 6 14 2003/11/26: Thomas Bretz 7 15 -
trunk/MagicSoft/Mars/mdata/MDataChain.cc
r2521 r2573 208 208 // -------------------------------------------------------------------------- 209 209 // 210 // Returns the number of alphanumeric characters (including '.' )210 // Returns the number of alphanumeric characters (including '.' and ';') 211 211 // in the given string 212 212 // … … 216 216 for (int i=0; i<l; i++) 217 217 { 218 if (!isalnum(txt[i]) && txt[i]!='.' && /*txt[i]!='['&&txt[i]!=']'&&*/ 218 if (!isalnum(txt[i]) && txt[i]!='.' && txt[i]!=';' && 219 /*txt[i]!='['&&txt[i]!=']'&&*/ 219 220 ((txt[i]!='-' && txt[i]!='+') || i!=0)) 220 221 return i;
Note:
See TracChangeset
for help on using the changeset viewer.