title: How do I deal with the warning Unknown escape sequence '\040' in cocoa
body: <p>I have the following Warning popping up in a few of the Applescripts I'm running in a Cocoa application:</p>
  
  <p><a href="http://emberapp.com/splash6/images/unknown-escape-sequence-error" rel="nofollow noreferrer" title="View Image Unknown escape sequence error at Ember.com">http://emberapp.com/splash6/images/unknown-escape-sequence-error/sizes/m.png</a></p>
  
  <p>I have tried everything I can think of to remove the error such as totally rewriting it, copying and pasting from another similar script that doesn't have the warning etc. but I can't get rid of it. Can anyone tell me where I might be going wrong. </p>
  
  <p>The raw code I'm using is:</p>
  
  <pre><code>NSString *theCellRefScript = [NSString stringWithFormat:@"tell application \"Numbers\"\n\
                                                  tell document 1 \n\
                                                  tell sheet \"%@\" \n\
                                                  tell table \"%@\" \n\
                                                  set value of cell \"%@\" to \%@\ \n\
                                                  end tell \n\
                                                  end tell \n\
                                                  end tell \n\
                                                  end tell ", theSheet, theTable, theCell, [theDistributionValues objectAtIndex:k]];
  </code></pre>