Changeset 2573 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
11/27/03 15:14:34 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2572 r2573  
    44
    55                                                 -*-*- 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
    614 2003/11/26: Thomas Bretz
    715
  • trunk/MagicSoft/Mars/mdata/MDataChain.cc

    r2521 r2573  
    208208// --------------------------------------------------------------------------
    209209//
    210 // Returns the number of alphanumeric characters (including '.')
     210// Returns the number of alphanumeric characters (including '.' and ';')
    211211// in the given string
    212212//
     
    216216    for (int i=0; i<l; i++)
    217217    {
    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]!=']'&&*/
    219220            ((txt[i]!='-' && txt[i]!='+') || i!=0))
    220221            return i;
Note: See TracChangeset for help on using the changeset viewer.