[futurebasic] Embedded C code access techniques

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2009 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Sun, 12 Jul 2009 07:06:35 -0400
In you have tried to run the code sample I posted in this thread, I  
just discovered that either my email app, or the HTML coding on this  
page apparently recognizes  a "backslash r" (I can't use the actual  
"\" character with the "r" in this sentence for that very reason) as  
a carriage return. Hence, in this loop you will need to substitute  
the actual backslash r characters inside double quotes to get it work  
as designed.

for (i=0; i<3; i++)
    {
       for (j=0; j<3; j++)
     {  // printf(" %d", testArr[i][j]);
       CFStringAppendFormat( mutStr, NULL, CFSTR( " %d" ), testArr[i] 
[j] );
     }
     CFStringAppendFormat( mutStr, NULL, CFSTR(  -- put  double-quote  
backslash r double-quote here -- ) );
    }
   return( mutStr );
}

Apologies for the inconvenience.