Jump to content
OMRON Forums

stray '\240' error

Guest DavisG

Recommended Posts

Guest DavisG

If you get an error on compile which reads something like:


Stray '\240' in code


this means a bad unprintable character is in that line(or may be in the header file which is filling in some variable name with a #define). The way to get rid of this error is to manually delete the spaces in the line (or #define) and replace them with...


wait for it...




I've seen this twice. Once with a block of code cut and pasted from an email in Outlook, and once with data cut and pasted from Excel. Remember to watch for spaces at the end and beginning of the line.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Popular Days

This topic is now closed to further replies.

  • Create New...