[GEM-dev] patch: stripping escaped commas in symbols

Georg Holzmann grhPD at gmx.at
Thu Sep 22 17:51:40 CEST 2005


Hallo Tim, IOhannes!

The problem with the patch is, that all float are now displayed as 
"float" ... so heres the next patch:


in TextBase::textMess:

...
   char tmp_char[MAXPDSTRING];
   string newtext;
...

and then read it like this:

...
       if(argv[i].a_type == A_FLOAT)
       {
         atom_string(&argv[i], tmp_char, MAXPDSTRING);
         newtext = tmp_char;
       }
       else newtext = atom_getsymbol(&argv[i])->s_name;
...

So commas and floats are possible !

LG
Georg




More information about the GEM-dev mailing list